def _create_file(self, contents, filename):
    self.input_api.files.append(MockFile(filename, contents.splitlines()))
def _create_file(self, contents, filename):
    self.input_api.files.append(MockFile(filename, contents.splitlines()))