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)
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)
def test_if_sha_file_not_exists__is_up_to_date__should_return_false(self): self.assertEqual(server.is_up_to_date(), True)