comparison tests/test_push_command.py @ 27:b66ed66c82e4

Fix this so the tests can still be run without nose.
author Augie Fackler <durin42@gmail.com>
date Fri, 10 Oct 2008 14:18:24 -0500
parents 5954a514ae26
children d87b57c719f0
comparison
equal deleted inserted replaced
26:bfbce70a9a57 27:b66ed66c82e4
150 # def test_push_executable_file(self): 150 # def test_push_executable_file(self):
151 # assert False 151 # assert False
152 # 152 #
153 # def test_push_symlink_file(self): 153 # def test_push_symlink_file(self):
154 # assert False 154 # assert False
155 else:
156 class PushTests(unittest.TestCase):
157 """Dummy so the test runner doesn't get upset.
158 """
159 pass
155 160
156 def suite(): 161 def suite():
157 if push_works: 162 return unittest.TestLoader().loadTestsFromTestCase(PushTests)
158 return unittest.TestLoader().loadTestsFromTestCase(PushTests)
159 return []
160 163