Bruno Oliveira
e5739a3115
Merge pull request #3136 from brianmaissy/doc/document_warning_filtering_behavior
...
Clarify that warning capturing doesn't change the warning filter by d…
2018-01-22 17:45:36 -02:00
Bruno Oliveira
8a8797df80
Small changelog formatting
2018-01-21 23:21:21 -02:00
Brian Maissy
8994603d46
Document hooks (defined with historic=True) which cannot be used with hookwrapper=True
2018-01-21 23:17:16 +02:00
Brian Maissy
5c0b340a4b
Clarify that warning capturing doesn't change the warning filter by default
2018-01-21 22:43:00 +02:00
Brian Maissy
196dcc37a8
Clarify a possible confusion when using pytest_fixture_setup with fixture functions that return None
2018-01-21 21:50:26 +02:00
feuillemorte
83034bbd48
#1642 Fix rootdir option
2018-01-20 22:30:01 +03:00
Cyrus Maden
0ab57c4139
Typo fix: "handeling" --> "handling"
2018-01-20 11:12:59 -08:00
Bruno Oliveira
29a7b5e064
Initialize log_cli_handler to None during LoggingPlugin init
...
Some of testdir's functionality bypasses pytest_runtestloop so this
attribute needs to be set early
2018-01-20 14:19:45 -02:00
Bruno Oliveira
27ae270159
Mention in docs that log messages of level WARNING or above are captured
2018-01-20 12:08:51 -02:00
Bruno Oliveira
2e40a8b3ca
Fix test_caplog_captures_for_all_stages by setting log level
2018-01-20 12:04:28 -02:00
Bruno Oliveira
18e053546c
Use six.StringIO and __name__ in test_live_logging_suspends_capture
2018-01-20 12:02:55 -02:00
Bruno Oliveira
9dbcac9af3
Suspend stdout/stderr capturing when emitting live logging messages
2018-01-20 12:02:55 -02:00
Bruno Oliveira
4a436572a8
Simplify test assertions a bit
2018-01-20 12:02:55 -02:00
Bruno Oliveira
97a4967b03
Improve code formatting
2018-01-20 12:02:55 -02:00
Bruno Oliveira
8f6a5928f7
Add newline before log messages and enable -v output when log_cli is enabled
2018-01-20 12:02:55 -02:00
Bruno Oliveira
5d89a93977
Small improvements to tests suggested during review
2018-01-20 12:02:54 -02:00
Bruno Oliveira
c53b72fd7b
Add CHANGELOG for 3013
2018-01-20 12:02:54 -02:00
Bruno Oliveira
6bb739516f
Update logging docs with the new changes in 3.4
...
Ref: #3013
2018-01-20 12:02:54 -02:00
Bruno Oliveira
8d735f3e1d
Live log option now writes to the terminal reporter
...
Ref: #3013
2018-01-20 12:01:42 -02:00
Bruno Oliveira
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
Bruno Oliveira
8dcd2718aa
No longer change the level of any logger unless requested explicitly
...
Ref: #3013
2018-01-20 12:01:42 -02:00
Bruno Oliveira
5ad1313b8a
log_cli must now be enabled explicitly
...
Ref: #3013
2018-01-20 12:00:46 -02:00
Bruno Oliveira
3b3d237f07
Merge pull request #3117 from boxed/access_logs_in_teardown
...
Access captures logs in teardown
2018-01-20 11:21:17 -02:00
Bruno Oliveira
c4c968fe69
Reword CHANGELOG after introduction of caplog.get_handler()
2018-01-20 11:14:09 -02:00
Cyrus Maden
0b6df94b12
Delete .DS_Store
2018-01-19 18:45:02 -08:00
Cyrus Maden
c3d420bf75
Delete .DS_Store
2018-01-19 18:44:46 -08:00
Cyrus Maden
ebb4c47155
Delete .DS_Store
2018-01-19 18:44:33 -08:00
Anders Hovmöller
7ea5a22657
Access captures logs in teardown
2018-01-19 12:42:35 +01:00
Cyrus Maden
cd76366d87
Rename pr.doc to 3131.doc
2018-01-18 15:59:37 -08:00
Cyrus Maden
931e8830ba
Update changelog
...
Not issue ID. Will update with pr ID after submitting pr
2018-01-18 15:54:31 -08:00
Bruno Oliveira
621374679b
Merge pull request #3129 from kimberlythegeek/typo_in_logging_doc
...
Typo in logging doc
2018-01-18 16:40:09 -02:00
Bruno Oliveira
8be1136d03
Small changelog formatting
2018-01-18 16:40:00 -02:00
Kimberly
e0b63e34fa
fixed typo in logging doc and added fix to changelog
2018-01-18 10:40:18 -07:00
feuillemorte
a7c39c894b
#1642 fix flake8
2018-01-17 23:48:04 +03:00
feuillemorte
4a18d76160
#1642 remove print
2018-01-17 23:14:40 +03:00
feuillemorte
86f01967e1
#1642 Added changelog entry
2018-01-17 23:05:22 +03:00
feuillemorte
d784155fd2
#1642 Add rootdir option
2018-01-17 23:02:31 +03:00
Florian Bruhin
1fd67c9000
Merge pull request #3121 from feuillemorte/2953-keyword-expressions-error
...
#2953 show a simple and easy error when keyword expressions trigger a syntax error
2018-01-17 19:00:22 +01:00
Bruno Oliveira
e3406e0818
Show usage errors in red
2018-01-16 19:35:32 -02:00
feuillemorte
dc79116de3
Merge branch '2953-keyword-expressions-error' of github.com:feuillemorte/pytest into 2953-keyword-expressions-error
2018-01-16 23:36:40 +03:00
feuillemorte
8433e2ba04
#2953 fix comments: fix exception type
2018-01-16 23:35:57 +03:00
Bruno Oliveira
86e1b44230
Improve changelog formatting
2018-01-16 18:10:15 -02:00
feuillemorte
5d3f7d7142
Merge branch '2953-keyword-expressions-error' of github.com:feuillemorte/pytest into 2953-keyword-expressions-error
2018-01-16 22:56:23 +03:00
feuillemorte
648d5d0c6b
#2953 fix comments: use keyword module
2018-01-16 22:55:24 +03:00
feuillemorte
dff597dcd0
Add changelog entry
2018-01-16 21:34:13 +03:00
feuillemorte
076fb56f85
show a simple and easy error when keyword expressions trigger a syntax error
2018-01-16 21:30:44 +03:00
Bruno Oliveira
150537d5e0
Merge pull request #3119 from PoppyBagel/fix-formatting
...
[doc] Fix wrong formatting in parametrize.rst
2018-01-16 08:33:48 -02:00
Kate
d8c23fd39b
Fix wrong formatting
2018-01-16 12:36:28 +03:00
Cyrus Maden
b748576358
Add name
2018-01-15 13:36:44 -08:00
Cyrus Maden
f555a3a76c
Update getting started guide
...
Proofread; added intro paragraph under first header to orient new users; fixed grammar errors (switched to active voice, actionable directions, etc) to improve readability
2018-01-15 13:27:10 -08:00