def test_it_runs_dissect_on_the_file(self, dissect): # Arrange retriever = Retriever(Mock()) # Act retriever.run("fake/file") # Assert dissect.run.assert_called_once_with("fake/file", ANY)
def run(self, file_path): retriever = DataRetriever(self.sender.send_message) retriever.run(file_path)