@patch('paasta_tools.cli.cmds.check.is_file_in_dir')
@patch('sys.stdout', new_callable=StringIO)
def test_check_docker_exists_and_is_valid(
    mock_stdout,
    mock_is_file_in_dir,
):
    mock_is_file_in_dir.return_value = "/fake/path"

    docker_check()
    output = mock_stdout.getvalue()

    assert output in PaastaCheckMessages.DOCKERFILE_FOUND
dataset/ETHPy150Open Yelp/paasta/tests/cli/test_cmds_check.py/test_check_docker_exists_and_is_valid/swapped operands of `in`