def METHOD_NAME(self, mocker):
    mocker.patch('os.path.exists', side_effect=lambda x: True)
    m = mocker.mock_open(read_data='#!/usr/bin/python\ndef test(args):\nprint("hi")\n')
    mocker.patch('builtins.open', m)
    assert amc._slurp('some_file') == '#!/usr/bin/python\ndef test(args):\nprint("hi")\n'