some doc refinements

This commit is contained in:
holger krekel
2012-10-20 09:52:03 +02:00
parent fae34ca5e3
commit 525b08bc5c
15 changed files with 144 additions and 121 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ the ``self.db`` values in the traceback::
def test_method1(self):
assert hasattr(self, "db")
> assert 0, self.db # fail for demo purposes
E AssertionError: <conftest.DummyDB instance at 0x2e36bd8>
E AssertionError: <conftest.DummyDB instance at 0x2ef8bd8>
test_unittest_db.py:9: AssertionError
___________________________ MyTest.test_method2 ____________________________
@@ -110,7 +110,7 @@ the ``self.db`` values in the traceback::
def test_method2(self):
> assert 0, self.db # fail for demo purposes
E AssertionError: <conftest.DummyDB instance at 0x2e36bd8>
E AssertionError: <conftest.DummyDB instance at 0x2ef8bd8>
test_unittest_db.py:12: AssertionError
========================= 2 failed in 0.02 seconds =========================