Пример #1
0
 def test_when_do_checkout_wiht_brnach_should_change_branch(self):
     result = Git.checkout(branch='origin/master', src=self.root_dir)
     self.assertTrue(result)
Пример #2
0
 def test_when_do_checkout_wihtout_brnach_should_restore_files(self):
     result = Git.checkout(src=self.root_dir)
     self.assertTrue(result)