

@mock.patch(exists_path, mock.Mock(return_value=False))
@mock.patch(find_git_root_path, mock.Mock(return_value='./'))
def test_warns_when_wercker_json_not_exists(self):
    with mock.patch(puts_path, mock.Mock()) as puts:
        validate()
        self.assert_called_with(SubstringMatcher(containing='Could not find a wercker.json file'))

dataset/ETHPy150Open wercker/wercker-cli/werckercli/tests/commands/test_validate.py ValidationTests.test_warns_when_wercker_json_not_exists/VarMisuse@66/87 `puts`->`self`