def test__is_directory__invalid_path__return_false(self): # Act result = DirWalker.is_directory(self.log_path) # Assert self.assertFalse(result)
def test__is_directory__non_existing_directory__return_false(self): # Act result = DirWalker.is_directory(os.path.join(self.root_path, 'failure')) # Assert self.assertFalse(result)
def test__is_directory__valid_path__return_true(self): # Act result = DirWalker.is_directory(self.root_path) # Assert self.assertTrue(result)