Commits

Anonymous committed 5479673

autoimport: added autoimporttest to the testsuite

Comments (0)

Files changed (2)

ropetest/contrib/__init__.py

 import unittest
 
+import ropetest.contrib.autoimporttest
 import ropetest.contrib.codeassisttest
 import ropetest.contrib.generatetest
 
     result = unittest.TestSuite()
     result.addTests(unittest.makeSuite(ropetest.contrib.generatetest.GenerateTest))
     result.addTests(ropetest.contrib.codeassisttest.suite())
+    result.addTests(ropetest.contrib.autoimporttest.suite())
     return result
 
 

ropetest/contrib/autoimporttest.py

         self.assertEquals([], self.importer.get_modules('myvar'))
 
 
+def suite():
+    result = unittest.TestSuite()
+    result.addTests(unittest.makeSuite(AutoImportTest))
+    result.addTests(unittest.makeSuite(AutoImportObservingTest))
+    return result
+
 if __name__ == '__main__':
     unittest.main()