Commits

theoden committed d3ac813

FabDeployProjectTest.assertFileExists fix. Some tests are broken.

  • Participants
  • Parent commits 9c01873

Comments (0)

Files changed (1)

File fab_deploy_tests/tests/deploy.py

 
     def assertFileExists(self, path):
         with(settings(warn_only=True)):
-            self.assertTrue(get_file_content(path))
+            res = get_file_content(path)
+        self.assertTrue(res.succeeded)
 
     def assertCommandAvailable(self, command):
         result = fab(self.project.apps.django.command_is_available, command)