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))
def test_add_remote(): output = git.add_remote(clone_path, 'testing', 'git://github.com/markstory/lint-review.git') eq_('', output)
def test_add_remote(self): output = git.add_remote( clone_path, 'testing', 'git://github.com/markstory/lint-review.git') self.assertEqual('', output)