some more fixes
This commit is contained in:
parent
289ee1c6ea
commit
d4d213f83d
|
@ -1,4 +1,4 @@
|
||||||
Changes between 2.3.0 and 2.3.dev
|
Changes between 2.3.0 and 2.3.1
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
|
||||||
- fix issue202 - fix regression: using "self" from fixture functions now
|
- fix issue202 - fix regression: using "self" from fixture functions now
|
||||||
|
@ -16,8 +16,7 @@ Changes between 2.2.4 and 2.3.0
|
||||||
|
|
||||||
- fix issue202 - better automatic names for parametrized test functions
|
- fix issue202 - better automatic names for parametrized test functions
|
||||||
- fix issue139 - introduce @pytest.fixture which allows direct scoping
|
- fix issue139 - introduce @pytest.fixture which allows direct scoping
|
||||||
and parametrization of funcarg factories. Introduce new @pytest.setup
|
and parametrization of funcarg factories.
|
||||||
marker to allow the writing of setup functions which accept funcargs.
|
|
||||||
- fix issue198 - conftest fixtures were not found on windows32 in some
|
- fix issue198 - conftest fixtures were not found on windows32 in some
|
||||||
circumstances with nested directory structures due to path manipulation issues
|
circumstances with nested directory structures due to path manipulation issues
|
||||||
- fix issue193 skip test functions with were parametrized with empty
|
- fix issue193 skip test functions with were parametrized with empty
|
||||||
|
@ -27,7 +26,7 @@ Changes between 2.2.4 and 2.3.0
|
||||||
- introduce re-ordering of tests by resource and parametrization setup
|
- introduce re-ordering of tests by resource and parametrization setup
|
||||||
which takes precedence to the usual file-ordering
|
which takes precedence to the usual file-ordering
|
||||||
- fix issue185 monkeypatching time.time does not cause pytest to fail
|
- fix issue185 monkeypatching time.time does not cause pytest to fail
|
||||||
- fix issue172 duplicate call of pytest.setup-decoratored setup_module
|
- fix issue172 duplicate call of pytest.fixture decoratored setup_module
|
||||||
functions
|
functions
|
||||||
- fix junitxml=path construction so that if tests change the
|
- fix junitxml=path construction so that if tests change the
|
||||||
current working directory and the path is a relative path
|
current working directory and the path is a relative path
|
||||||
|
|
|
@ -0,0 +1,39 @@
|
||||||
|
pytest-2.3.1: fix regression with factory functions
|
||||||
|
===========================================================================
|
||||||
|
|
||||||
|
pytest-2.3.1 is a quick follow-up release:
|
||||||
|
|
||||||
|
- fix issue202 - regression with fixture functions/funcarg factories:
|
||||||
|
using "self" is now safe again and works as in 2.2.4. Thanks
|
||||||
|
to Eduard Schettino for the quick bug report.
|
||||||
|
|
||||||
|
- disable pexpect pytest self tests on Freebsd - thanks Koob for the
|
||||||
|
quick reporting
|
||||||
|
|
||||||
|
- fix/improve interactive docs with --markers
|
||||||
|
|
||||||
|
See
|
||||||
|
|
||||||
|
http://pytest.org/
|
||||||
|
|
||||||
|
for general information. To install or upgrade pytest:
|
||||||
|
|
||||||
|
pip install -U pytest # or
|
||||||
|
easy_install -U pytest
|
||||||
|
|
||||||
|
best,
|
||||||
|
holger krekel
|
||||||
|
|
||||||
|
|
||||||
|
Changes between 2.3.0 and 2.3.1
|
||||||
|
-----------------------------------
|
||||||
|
|
||||||
|
- fix issue202 - fix regression: using "self" from fixture functions now
|
||||||
|
works as expected (it's the same "self" instance that a test method
|
||||||
|
which uses the fixture sees)
|
||||||
|
|
||||||
|
- skip pexpect using tests (test_pdb.py mostly) on freebsd* systems
|
||||||
|
due to pexpect not supporting it properly (hanging)
|
||||||
|
|
||||||
|
- link to web pages from --markers output which provides help for
|
||||||
|
pytest.mark.* usage.
|
|
@ -551,8 +551,8 @@ def test_direct_gives_error(testdir):
|
||||||
def test_default_markers(testdir):
|
def test_default_markers(testdir):
|
||||||
result = testdir.runpytest("--markers")
|
result = testdir.runpytest("--markers")
|
||||||
result.stdout.fnmatch_lines([
|
result.stdout.fnmatch_lines([
|
||||||
"*skipif(*conditions)*skip*",
|
"*skipif(*condition)*skip*",
|
||||||
"*xfail(*conditions, reason=None, run=True)*expected failure*",
|
"*xfail(*condition, reason=None, run=True)*expected failure*",
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue