[py-svn] r7974 - py/dist/py/misc

hpk at codespeak.net hpk at codespeak.net
Thu Dec 23 12:15:35 CET 2004


Author: hpk
Date: Thu Dec 23 12:15:35 2004
New Revision: 7974

Modified:
   py/dist/py/misc/test_api.py
Log:
enable the tests (aehem)


Modified: py/dist/py/misc/test_api.py
==============================================================================
--- py/dist/py/misc/test_api.py	(original)
+++ py/dist/py/misc/test_api.py	Thu Dec 23 12:15:35 2004
@@ -4,15 +4,14 @@
 import sys
 import inspect
 
-class API_V0_namespace_consistence:
+class TestAPI_V0_namespace_consistence:
     def test_path_entrypoints(self):
         assert inspect.ismodule(py.path) 
         assert_class('py.path', 'local')
         assert_class('py.path', 'svnwc')
         assert_class('py.path', 'svnurl')
-        assert_class('py.path', 'py')
+        assert_class('py.path', 'extpy')
         assert_class('py.path', 'checker')
-        assert_class('py.path', 'invchecker')
         assert_class('py.path', 'NotFound')
         assert_class('py.path', 'Denied')
 
@@ -23,18 +22,10 @@
         assert_function('py.magic', 'patch')
         assert_function('py.magic', 'revoke')
 
-        assert inspect.ismodule(py.magic.dyncode) 
-        assert_function('py.magic.dyncode', 'compile') 
-        assert_function('py.magic.dyncode', 'compile2') 
-        assert_function('py.magic.dyncode', 'findsource') 
-        assert_function('py.magic.dyncode', 'getsource') 
-        assert_function('py.magic.dyncode', 'listtb') 
-        assert_function('py.magic.dyncode', 'findsource') 
-       
     def test_process_entrypoints(self):
         assert_function('py.process', 'cmdexec') 
 
-    def test_utest_entrypoints(self):
+    def XXXtest_utest_entrypoints(self):
         # XXX TOBECOMPLETED 
         assert_function('py.test', 'main') 
         #assert_module('std.utest', 'collect') 



More information about the pytest-commit mailing list