예제 #1
0
    def setUp(self):
        self.__file_mover = FileMover()

        file_handler.create_dir(self.TEST_SOURCE_PATH)

        file_handler.create_dir(self.TEST_FILE_NAMES_DESTINATION_DIRECTORY_PATH)
        file_handler.create_file(self.TEST_FILE_NAMES_FILE_1_SOURCE_PATH)
        file_handler.create_file(self.TEST_FILE_NAMES_FILE_2_SOURCE_PATH)
        file_handler.create_file(self.TEST_FILE_NAMES_FILE_3_SOURCE_PATH)

        file_handler.create_dir(self.TEST_SEASON_DIRECTORY_NOT_EXIST_DESTINATION_PATH)
        file_handler.create_dir(self.TEST_SEASON_DIRECTORY_NOT_EXIST_FILE_SOURCE_PATH)

        file_handler.create_dir(self.TEST_FOLDER_NAMES_FOLDER_SOURCE_PATH)
        file_handler.create_dir(self.TEST_FOLDER_NAMES_DESTINATION_DIRECTORY_PATH)
예제 #2
0
 def setUp(self):
     file_handler.create_dir(self.TEST_SEARCH_IN_DIRECTORY_PATH)
     file_handler.create_dir(self.TEST_DESTINATION_ROOT_FOLDER)
     file_handler.create_file(self.TEST_FILE_SOURCE_PATH)
예제 #3
0
 def setUp(self):
     self.__file_mather = FileMatcher()
     file_handler.create_dir(self.TEST_SEARCH_IN_DIRECTORY_PATH)
     file_handler.create_file(self.TEST_FILE_PATH)
     file_handler.create_dir(self.TEST_FOLDER_PATH)