42
42
def check_file_content(self, name, find):
43
43
"""Check that the named file exists and contains the find text."""
46
46
amulet.raise_status(amulet.FAIL,
47
47
msg="Could not retrieve status of " + name)
49
49
if not content.find(find):
50
50
amulet.raise_status(amulet.FAIL,
51
51
msg=name + " does not contain the required text (" + find + ")")