Commits

Anonymous committed c256ea9

simplifytest: added to the test suite

  • Participants
  • Parent commits 515c833

Comments (0)

Files changed (2)

ropetest/__init__.py

 import ropetest.runmodtest
 import ropetest.builtinstest
 import ropetest.historytest
+import ropetest.simplifytest
 
 
 def suite():
     result.addTests(ropetest.runmodtest.suite())
     result.addTests(ropetest.builtinstest.suite())
     result.addTests(ropetest.historytest.suite())
+    result.addTests(ropetest.simplifytest.suite())
     return result
 
 

ropetest/simplifytest.py

         self.assertEquals('a = 1\nb = 2\n', simplify.real_code(code))
 
 
+def suite():
+    result = unittest.TestSuite()
+    result.addTests(unittest.makeSuite(SimplifyTest))
+    return result
+
 if __name__ == '__main__':
     unittest.main()