Beispiel #1
0
 def test_get_current_branch(self):
     self.assertEqual(sourcecontrol.NoSC().get_current_branch(), 'default')
Beispiel #2
0
 def test_do_zip(self, mock_file):
     sourcecontrol.NoSC().do_zip('file.zip')
     mock_file.zip_up_project.assert_called_with('file.zip')
Beispiel #3
0
 def test_get_name(self):
     self.assertEqual(sourcecontrol.NoSC().get_name(), None)