- add a Package/dir level setup example

- make tox.ini's doc/regen use pytest release instead of dev version
This commit is contained in:
holger krekel
2012-11-07 11:11:40 +01:00
parent 476d210d09
commit ff0c75aa34
15 changed files with 182 additions and 84 deletions

View File

@@ -122,7 +122,7 @@ run the module by passing its filename::
================================= FAILURES =================================
____________________________ TestClass.test_two ____________________________
self = <test_class.TestClass instance at 0x22a4d40>
self = <test_class.TestClass instance at 0x13becf8>
def test_two(self):
x = "hello"
@@ -157,7 +157,7 @@ before performing the test function call. Let's just run it::
================================= FAILURES =================================
_____________________________ test_needsfiles ______________________________
tmpdir = local('/tmp/pytest-594/test_needsfiles0')
tmpdir = local('/tmp/pytest-780/test_needsfiles0')
def test_needsfiles(tmpdir):
print tmpdir
@@ -166,7 +166,7 @@ before performing the test function call. Let's just run it::
test_tmpdir.py:3: AssertionError
----------------------------- Captured stdout ------------------------------
/tmp/pytest-594/test_needsfiles0
/tmp/pytest-780/test_needsfiles0
Before the test runs, a unique-per-test-invocation temporary directory
was created. More info at :ref:`tmpdir handling`.