parent
63bb9efd29
commit
a6003ac332
|
@ -3,6 +3,8 @@ Changes between 1.3.4 and 1.4.0.dev0
|
||||||
==================================================
|
==================================================
|
||||||
|
|
||||||
- introduce (customizable) assertion failure representations (Floris Bruynooghe)
|
- introduce (customizable) assertion failure representations (Floris Bruynooghe)
|
||||||
|
- nose-plugin: pass through type-signature failures in setup/teardown
|
||||||
|
functions instead of not calling them (Ed Singleton)
|
||||||
- major refactoring of internal collection handling
|
- major refactoring of internal collection handling
|
||||||
- majorly reduce py.test core code, shift function/python testing to own plugin
|
- majorly reduce py.test core code, shift function/python testing to own plugin
|
||||||
- fix issue88 (finding custom test nodes from command line arg)
|
- fix issue88 (finding custom test nodes from command line arg)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import py
|
import py
|
||||||
py.test.importorskip("nose")
|
|
||||||
|
|
||||||
|
def setup_module(mod):
|
||||||
|
mod.nose = py.test.importorskip("nose")
|
||||||
|
|
||||||
def test_nose_setup(testdir):
|
def test_nose_setup(testdir):
|
||||||
p = testdir.makepyfile("""
|
p = testdir.makepyfile("""
|
||||||
|
@ -99,6 +100,7 @@ def test_nose_setup_func_failure_2(testdir):
|
||||||
|
|
||||||
|
|
||||||
def test_nose_setup_partial(testdir):
|
def test_nose_setup_partial(testdir):
|
||||||
|
py.test.importorskip("functools")
|
||||||
p = testdir.makepyfile("""
|
p = testdir.makepyfile("""
|
||||||
from functools import partial
|
from functools import partial
|
||||||
|
|
||||||
|
|
1
tox.ini
1
tox.ini
|
@ -12,6 +12,7 @@ commands=
|
||||||
py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
|
py.test -rfsxX --junitxml={envlogdir}/junit-{envname}.xml []
|
||||||
deps=
|
deps=
|
||||||
pexpect
|
pexpect
|
||||||
|
nose
|
||||||
[testenv:py27]
|
[testenv:py27]
|
||||||
basepython=python2.7
|
basepython=python2.7
|
||||||
[testenv:py27-xdist]
|
[testenv:py27-xdist]
|
||||||
|
|
Loading…
Reference in New Issue