[py-svn] r31473 - py/branch/distributed/py/test/rsession/testing
hpk at codespeak.net
hpk at codespeak.net
Tue Aug 22 16:03:36 CEST 2006
Author: hpk
Date: Tue Aug 22 16:03:27 2006
New Revision: 31473
Modified:
py/branch/distributed/py/test/rsession/testing/test_slavenode.py
Log:
(fijal, hpk) some failing tests
Modified: py/branch/distributed/py/test/rsession/testing/test_slavenode.py
==============================================================================
--- py/branch/distributed/py/test/rsession/testing/test_slavenode.py (original)
+++ py/branch/distributed/py/test/rsession/testing/test_slavenode.py Tue Aug 22 16:03:27 2006
@@ -30,6 +30,11 @@
assert outcome.passed
assert not outcome.setupfailure
+ ser = outcome.serialize()
+ reproutcome = ReprOutcome(ser)
+ assert reproutcome.passed
+ assert not reproutcome.setupfailure
+
def test_slavenode_run_failing():
node = gettestnode()
outcome = node.run("execitem",
@@ -39,6 +44,12 @@
assert len(outcome.excinfo.traceback) == 1
assert outcome.excinfo.traceback[-1].frame.code.name == 'funcfail'
+ ser = outcome.serialize()
+ reproutcome = ReprOutcome(ser)
+ assert not reproutcome.passed
+ assert not reproutcome.setupfailure
+ assert reproutcome.excinfo
+
#def test_slavenode_dispatch_failing(self):
# node = SlaveNode()
# outcome = node.run("execitem",
More information about the pytest-commit
mailing list