final touches

This commit is contained in:
holger krekel
2012-10-19 11:12:13 +02:00
parent dca5fa2241
commit a5ce481022
19 changed files with 103 additions and 97 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 0x1276bd8>
E AssertionError: <conftest.DummyDB instance at 0x2e36bd8>
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 0x1276bd8>
E AssertionError: <conftest.DummyDB instance at 0x2e36bd8>
test_unittest_db.py:12: AssertionError
========================= 2 failed in 0.02 seconds =========================