示例#1
0
 def test_if_sha_file_not_equals_to_branch_hash__is_up_to_date__should_return_false(
         self):
     with open(self.sha_file, 'w+') as f:
         f.write(fancy_sha)
     self.assertEqual(server.is_up_to_date(), False)
示例#2
0
 def test_if_sha_file_not_equals_to_branch_hash__is_up_to_date__should_return_false(self):
     with open(self.sha_file, 'w+') as f:
         f.write(fancy_sha)
     self.assertEqual(server.is_up_to_date(), False)
示例#3
0
 def test_if_sha_file_not_exists__is_up_to_date__should_return_false(self):
     self.assertEqual(server.is_up_to_date(), True)
示例#4
0
 def test_if_sha_file_not_exists__is_up_to_date__should_return_false(self):
     self.assertEqual(server.is_up_to_date(), True)