コード例 #1
0
ファイル: test_nacl_git.py プロジェクト: rmatulat/nacl
 def test_remote_diff_branch_clean(self, mock_branch, mock_git):
     self.assertEquals([('BOLD', 'foo')], remote_diff._fn())
コード例 #2
0
ファイル: test_nacl_git.py プロジェクト: rmatulat/nacl
 def test_remote_diff_branch_not_clean(self, mock_branch, mock_git):
     self.assertEquals([('INFO', 'Uncommitted changes.'), ('INFO', 'No diffs found')], remote_diff._fn())