Пример #1
0
 def setUp(self):
     super().setUp()
     result = Git.clone(self.repo_url, self.root_dir)
     self.assertTrue(result)
Пример #2
0
 def test_when_clone_without_destiny_should_use_current_path(self):
     cd(self.root_dir)
     result = Git.clone(self.repo_url)
     self.assertTrue(result)
     self.assertTrue((self.root_dir + 'chibi_command').exists)
Пример #3
0
 def setUp(self):
     super().setUp()
     result = Git.clone(self.repo_url, self.root_dir)
Пример #4
0
 def test_when_clone_with_destiny_should_doe_in_that_place(self):
     result = Git.clone(self.repo_url, self.root_dir)
     self.assertTrue(result)
     self.assertTrue(list(self.root_dir.ls()))