Commit 30a9de77 authored by Michal Čihař's avatar Michal Čihař

Complete coverage for needs_push method

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 554f574a
......@@ -187,6 +187,10 @@ class VCSGitTest(RepoTestCase):
self.assertFalse(self.repo.needs_merge(self._branch))
self.assertFalse(self.repo.needs_push(self._branch))
def test_needs_commit(self):
self.test_commit()
self.assertTrue(self.repo.needs_push(self._branch))
def test_is_supported(self):
self.assertTrue(self._class.is_supported())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment