[py-svn] r56516 - py/branch/event/py/test2/testing

hpk at codespeak.net hpk at codespeak.net
Sun Jul 13 17:28:11 CEST 2008


Author: hpk
Date: Sun Jul 13 17:28:10 2008
New Revision: 56516

Modified:
   py/branch/event/py/test2/testing/test_remote.py
Log:
a remark about how "remote" tests here need to be done


Modified: py/branch/event/py/test2/testing/test_remote.py
==============================================================================
--- py/branch/event/py/test2/testing/test_remote.py	(original)
+++ py/branch/event/py/test2/testing/test_remote.py	Sun Jul 13 17:28:10 2008
@@ -3,7 +3,11 @@
 def setup_module(mod):
     mod.tmpdir = py.test.ensuretemp(mod.__name__) 
 
-class TestRemote: 
+class Test_Remote_Functional: 
+    # XXX for testing features that implicitely start new
+    # we want to get access to the remote event log 
+    # and be able to access and assert about it it from the
+    # tests below 
     def test_exec(self): 
         o = tmpdir.ensure('remote', dir=1) 
         tfile = o.join('test_exec.py')
@@ -16,15 +20,12 @@
                         ['--exec=' + py.std.sys.executable, 
                          o])
         session = config.initsession()
-        #allevents = getevents_runmain(session) 
-        #print allevents
-        #failures = [x for x in allevents 
-        #                if isinstance(x, repevent.ItemFinish)]
         failures = session.main()
         assert failures 
+        py.test.skip("extend this test to test that --exec really honores its argument")
 
     def test_looponfailing(self):
-        py.test.skip("fix output checking tests to check for events") 
+        py.test.skip("xxx check events")
         o = tmpdir.ensure('looponfailing', dir=1) 
         tfile = o.join('test_looponfailing.py')
         tfile.write(py.code.Source("""



More information about the pytest-commit mailing list