4a74d455de 
								
							 
						 
						
							
							
								
								minor: typos  
							
							
							
						 
						
							2018-11-09 02:03:44 +01:00  
				
					
						
							
							
								 
						
							
								2368fbb63c 
								
							 
						 
						
							
							
								
								Apply reorder-python-imports to all files  
							
							
							
						 
						
							2018-10-25 00:01:29 -07:00  
				
					
						
							
							
								 
						
							
								db106d6085 
								
							 
						 
						
							
							
								
								Fix logging usage in hooks pytest_sessionstart/finish  #3340  
							
							
							
						 
						
							2018-10-20 09:55:10 +02:00  
				
					
						
							
							
								 
						
							
								29d5849519 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-10-13 08:50:32 -03:00  
				
					
						
							
							
								 
						
							
								c14a23d4e4 
								
							 
						 
						
							
							
								
								Fix   #4093 : multiple string literals on a line  
							
							
							
						 
						
							2018-10-10 19:28:31 +02:00  
				
					
						
							
							
								 
						
							
								9a3836a0cf 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-10-09 19:34:04 -03:00  
				
					
						
							
							
								 
						
							
								3901569f26 
								
							 
						 
						
							
							
								
								Improve performance of ~3 of the slowest tests  
							
							
							
						 
						
							2018-10-08 11:12:55 -07:00  
				
					
						
							
							
								 
						
							
								048342817b 
								
							 
						 
						
							
							
								
								Add testcase for logging to file  
							
							
							
						 
						
							2018-09-18 21:47:42 +02:00  
				
					
						
							
							
								 
						
							
								e967d4587a 
								
							 
						 
						
							
							
								
								Add support for logging in collection-phase  
							
							... 
							
							
							
							The logging plugin does not output log messages generated during the
collection-phase when live-logging is enabled. This fixes this.
Fixes  #3964  
							
						 
						
							2018-09-18 20:18:24 +02:00  
				
					
						
							
							
								 
						
							
								7ea4992f16 
								
							 
						 
						
							
							
								
								Fixed linting.  
							
							
							
						 
						
							2018-08-19 15:46:02 +02:00  
				
					
						
							
							
								 
						
							
								0564b52c0e 
								
							 
						 
						
							
							
								
								Fixed integration with other modules/tests  
							
							
							
						 
						
							2018-08-19 15:26:57 +02:00  
				
					
						
							
							
								 
						
							
								5cf7d1dba2 
								
							 
						 
						
							
							
								
								"suspend" method of capture fixture private  
							
							... 
							
							
							
							Also change the context-manager to global_and_fixture_disabled to
better convey its meaning 
							
						 
						
							2018-08-18 11:38:08 -03:00  
				
					
						
							
							
								 
						
							
								090f67a980 
								
							 
						 
						
							
							
								
								Refactored implementation and updated tests.  
							
							
							
						 
						
							2018-08-17 13:41:26 +02:00  
				
					
						
							
							
								 
						
							
								e391c47ed8 
								
							 
						 
						
							
							
								
								Update capture suspend test for logging.  
							
							
							
						 
						
							2018-08-17 00:44:15 +02:00  
				
					
						
							
							
								 
						
							
								7696d5371a 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into features  
							
							
							
						 
						
							2018-07-04 18:49:35 -03:00  
				
					
						
							
							
								 
						
							
								dad3e77319 
								
							 
						 
						
							
							
								
								Improve test readability.  
							
							
							
						 
						
							2018-06-30 18:57:24 +02:00  
				
					
						
							
							
								 
						
							
								3a1c15316b 
								
							 
						 
						
							
							
								
								Updated test for python 2.7  
							
							
							
						 
						
							2018-06-30 16:11:20 +02:00  
				
					
						
							
							
								 
						
							
								a6636fddcd 
								
							 
						 
						
							
							
								
								Fixed open function with encoding in python 2.7  
							
							
							
						 
						
							2018-06-29 17:04:30 +02:00  
				
					
						
							
							
								 
						
							
								342f2cdc17 
								
							 
						 
						
							
							
								
								Fixes   #3630  
							
							
							
						 
						
							2018-06-29 16:09:39 +02:00  
				
					
						
							
							
								 
						
							
								89e0a3ec27 
								
							 
						 
						
							
							
								
								merge from master to features  
							
							
							
						 
						
							2018-06-26 17:01:05 +02:00  
				
					
						
							
							
								 
						
							
								cbaa7dd56a 
								
							 
						 
						
							
							
								
								Upgrade pre-commit hooks except pyupgrade  
							
							
							
						 
						
							2018-06-26 06:35:27 -07:00  
				
					
						
							
							
								 
						
							
								3615977608 
								
							 
						 
						
							
							
								
								Add `messages` property to `caplog` fixture.  
							
							
							
						 
						
							2018-06-14 12:22:33 -07:00  
				
					
						
							
							
								 
						
							
								703e4b11ba 
								
							 
						 
						
							
							
								
								run black  
							
							
							
						 
						
							2018-05-23 16:48:46 +02:00  
				
					
						
							
							
								 
						
							
								9aacb4635e 
								
							 
						 
						
							
							
								
								run pyupgrade  
							
							
							
						 
						
							2018-05-23 16:45:09 +02:00  
				
					
						
							
							
								 
						
							
								2962c7367c 
								
							 
						 
						
							
							
								
								Merge pull request  #3307  from KKoukiou/rhv-qe-fix  
							
							... 
							
							
							
							logging.py: Don't change log level of the root logger to bigger numeric value 
							
						 
						
							2018-03-27 18:03:22 -03:00  
				
					
						
							
							
								 
						
							
								d895f5d6fc 
								
							 
						 
						
							
							
								
								logging.py: Don't change log level of the root logger to bigger numeric value  
							
							
							
						 
						
							2018-03-26 10:11:49 +02:00  
				
					
						
							
							
								 
						
							
								1fff81e21d 
								
							 
						 
						
							
							
								
								Merge remote-tracking branch 'upstream/master' into merge-master-into-features  
							
							
							
						 
						
							2018-03-16 18:15:28 -03:00  
				
					
						
							
							
								 
						
							
								68375513f3 
								
							 
						 
						
							
							
								
								Add TC to demonstrate  #3297  that caplog.clear() does not clean text  
							
							
							
						 
						
							2018-03-13 00:28:47 +02:00  
				
					
						
							
							
								 
						
							
								dfbaa20240 
								
							 
						 
						
							
							
								
								Bring test_live_logs_unknown_sections directly due to merge conflicts  
							
							
							
						 
						
							2018-02-17 09:36:46 -02:00  
				
					
						
							
							
								 
						
							
								d776e5610e 
								
							 
						 
						
							
							
								
								Fix issue where a new line was always written for the live log finish section  
							
							
							
						 
						
							2018-02-09 11:17:01 +00:00  
				
					
						
							
							
								 
						
							
								0b71255dda 
								
							 
						 
						
							
							
								
								Expose `log_cli` as a CLI parser option.  
							
							
							
						 
						
							2018-02-08 09:42:53 +00:00  
				
					
						
							
							
								 
						
							
								67558e0e22 
								
							 
						 
						
							
							
								
								Additionally handle logstart and logfinish hooks  
							
							
							
						 
						
							2018-02-06 15:45:36 +00:00  
				
					
						
							
							
								 
						
							
								0d15a46863 
								
							 
						 
						
							
							
								
								Don't traceback on unkown sections.  
							
							
							
						 
						
							2018-02-05 19:09:38 +00:00  
				
					
						
							
							
								 
						
							
								ebab1b6c69 
								
							 
						 
						
							
							
								
								live-logging: Colorize levelname  
							
							
							
						 
						
							2018-01-30 18:21:12 +01:00  
				
					
						
							
							
								 
						
							
								15cbd61159 
								
							 
						 
						
							
							
								
								Change caplog.get_handler(when) to caplog.get_records(when)  
							
							... 
							
							
							
							While updating the docs I noticed that caplog.get_handler() exposes
the underlying Handler object, which I think it is a bit too much
detail at this stage. Update to return the records directly instead. 
							
						 
						
							2018-01-24 19:08:49 -02:00  
				
					
						
							
							
								 
						
							
								113bfb6be8 
								
							 
						 
						
							
							
								
								Report 'call' phase as 'live log call'  
							
							... 
							
							
							
							As commented in review, this makes it consistent with the headers shown
by stdout/stderr capturing ("Captured log call") 
							
						 
						
							2018-01-22 21:43:35 -02:00  
				
					
						
							
							
								 
						
							
								9f4688e549 
								
							 
						 
						
							
							
								
								Remove unnecessary -s from test_log_cli_enabled_disabled  
							
							
							
						 
						
							2018-01-22 21:26:14 -02:00  
				
					
						
							
							
								 
						
							
								3a9d0b26d5 
								
							 
						 
						
							
							
								
								Use pytest_runtest_logstart to signal the start of a new test  
							
							... 
							
							
							
							This also simplifies the code a bit because we don't need to keep
a set of ids anymore 
							
						 
						
							2018-01-22 21:20:48 -02:00  
				
					
						
							
							
								 
						
							
								0df42b4426 
								
							 
						 
						
							
							
								
								Show a header for each testing phase during live logging  
							
							... 
							
							
							
							As suggested during review 
							
						 
						
							2018-01-22 21:00:52 -02:00  
				
					
						
							
							
								 
						
							
								2e40a8b3ca 
								
							 
						 
						
							
							
								
								Fix test_caplog_captures_for_all_stages by setting log level  
							
							
							
						 
						
							2018-01-20 12:04:28 -02:00  
				
					
						
							
							
								 
						
							
								18e053546c 
								
							 
						 
						
							
							
								
								Use six.StringIO and __name__ in test_live_logging_suspends_capture  
							
							
							
						 
						
							2018-01-20 12:02:55 -02:00  
				
					
						
							
							
								 
						
							
								9dbcac9af3 
								
							 
						 
						
							
							
								
								Suspend stdout/stderr capturing when emitting live logging messages  
							
							
							
						 
						
							2018-01-20 12:02:55 -02:00  
				
					
						
							
							
								 
						
							
								4a436572a8 
								
							 
						 
						
							
							
								
								Simplify test assertions a bit  
							
							
							
						 
						
							2018-01-20 12:02:55 -02:00  
				
					
						
							
							
								 
						
							
								8f6a5928f7 
								
							 
						 
						
							
							
								
								Add newline before log messages and enable -v output when log_cli is enabled  
							
							
							
						 
						
							2018-01-20 12:02:55 -02:00  
				
					
						
							
							
								 
						
							
								5d89a93977 
								
							 
						 
						
							
							
								
								Small improvements to tests suggested during review  
							
							
							
						 
						
							2018-01-20 12:02:54 -02:00  
				
					
						
							
							
								 
						
							
								8d735f3e1d 
								
							 
						 
						
							
							
								
								Live log option now writes to the terminal reporter  
							
							... 
							
							
							
							Ref: #3013  
							
						 
						
							2018-01-20 12:01:42 -02:00  
				
					
						
							
							
								 
						
							
								aca1b06747 
								
							 
						 
						
							
							
								
								Undo log level set by caplog.set_level at the end of the test  
							
							... 
							
							
							
							Otherwise this leaks the log level information to other tests
Ref: #3013  
							
						 
						
							2018-01-20 12:01:42 -02:00  
				
					
						
							
							
								 
						
							
								8dcd2718aa 
								
							 
						 
						
							
							
								
								No longer change the level of any logger unless requested explicitly  
							
							... 
							
							
							
							Ref: #3013  
							
						 
						
							2018-01-20 12:01:42 -02:00  
				
					
						
							
							
								 
						
							
								5ad1313b8a 
								
							 
						 
						
							
							
								
								log_cli must now be enabled explicitly  
							
							... 
							
							
							
							Ref: #3013  
							
						 
						
							2018-01-20 12:00:46 -02:00  
				
					
						
							
							
								 
						
							
								7ea5a22657 
								
							 
						 
						
							
							
								
								Access captures logs in teardown  
							
							
							
						 
						
							2018-01-19 12:42:35 +01:00