Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)
Exemplo n.º 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)