Пример #1
0
 def test_add_remote__duplicate(self):
     try:
         git.add_remote(
             clone_path,
             'origin',
             'git://github.com/markstory/lint-review.git')
     except IOError as e:
         self.assertIn('Unable to add remote origin', str(e))
Пример #2
0
def test_add_remote():
    output = git.add_remote(clone_path, 'testing',
                            'git://github.com/markstory/lint-review.git')
    eq_('', output)
Пример #3
0
 def test_add_remote(self):
     output = git.add_remote(
         clone_path,
         'testing',
         'git://github.com/markstory/lint-review.git')
     self.assertEqual('', output)