예제 #1
0
    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)
예제 #2
0
파일: __init__.py 프로젝트: qdamian/depict
 def run(self, file_path):
     retriever = DataRetriever(self.sender.send_message)
     retriever.run(file_path)