Beispiel #1
0
 def test_remote_diff_branch_clean(self, mock_branch, mock_git):
     self.assertEquals([('BOLD', 'foo')], remote_diff._fn())
Beispiel #2
0
 def test_remote_diff_branch_not_clean(self, mock_branch, mock_git):
     self.assertEquals([('INFO', 'Uncommitted changes.'), ('INFO', 'No diffs found')], remote_diff._fn())