

def test_log_file():
    (returncode, stdout, stderr) = exec_command(['dcos', 'service', 'log', 'chronos', 'stderr'])
    assert (returncode == 0)
    assert (len(stdout.decode('utf-8').split('\n')) > 1)
    assert (stderr == b'')

dataset/ETHPy150Open dcos/dcos-cli/cli/tests/integrations/test_service.py test_log_file/original