def assert_file_content(imgname, path, expected_content):
try:<EOL><INDENT>actual_content = get_file_content(imgname, path)<EOL><DEDENT>except docker.errors.NotFound:<EOL><INDENT>assert False, ('<STR_LIT>' % path)<EOL><DEDENT>assert actual_content.strip() == expected_content.strip()<EOL>
Asserts that an image exists with a file at the
    specified path containing the specified content