Commits

yml ...@gmail.com  committed 5004289

Add a fabric task to run the test suite called run_test_suite

  • Participants
  • Parent commits 6a89c05

Comments (0)

Files changed (2)

     install_requirements()
     project_linkage()
     
+def run_test_suite():
+    """
+    Run the test suite for the Fabric Factory
+    """
+    local('. ve/bin/activate; src/project/manage.py test')
+    
+ 
+    
 def clean_up():
     """
     Clean up the environment this command should be used carefully because it
                 os.remove(f)
         except Exception, e:
             print e
-    
+    

File src/worker/tests/__init__.py

             output, error = Worker._execute_task_from_fabfile(self.fabfile_path, self.wrong_task)
         except Exception, e:
             self.assertEqual(True, isinstance(e, WorkerError))
+            
+#class FaillingTest(TestCase):
+#    def test_faillure(self):
+#        self.assertEqual(True, False)