

@patch('gonzo.contrib.checks.diff_branch')
def test_no_changes(self, diff_branch):
    diff_branch.return_value = (0, 0)
    with patch.object(sys, 'stderr', self.stderr):
        self._callFUT(current_release='origin/master')
    output = self.stderr.getvalue()
    assert (output == '')

dataset/ETHPy150Open onefinestay/gonzo/tests/contrib/test_checks.py TestAssertAheadOfCurrentRelease.test_no_changes/original