def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionMain self.function_global = FunctionGlobal self.test_id = "TS013" self.the_process = self.function_global.ForSetUp( ).correct_main_menu_3_sites_saved() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(1) self.countdown_function_2 = FunctionGlobal.CountExecution(2) self.countdown_function_3 = FunctionGlobal.CountExecution(2) self.look_function_test_case = FunctionMain.LookFunctionTestCase( self.the_process) self.remove_one_site_function_test_case = FunctionMain.RemoveOneSiteFunctionTestCase( self.the_process) self.clear_function_test_case = FunctionMain.ClearFunctionTestCase( self.the_process) self.deletion_approval_test_case = FunctionMain.DeletionApprovalTestCase( self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionWrongData import FunctionAdd self.function_global = FunctionGlobal self.test_id = "TS004" self.the_process = self.function_global.ForSetUp( ).correct_main_menu_entry() self.the_log = "" self.countdown_function_0 = FunctionGlobal.CountExecution(1) self.countdown_function_1 = FunctionGlobal.CountExecution(2) self.countdown_function_2 = FunctionGlobal.CountExecution(2) self.countdown_function_3 = FunctionGlobal.CountExecution(3) self.add_site_function_test_case = FunctionAdd.AddSiteFunctionTestCase( self.the_process) self.blank_data_written_test_case = FunctionWrongData.BlankDataWrittenTestCase( self.the_process) self.meaningless_chars_test_case = FunctionWrongData.MeaninglessCharsTestCase( self.the_process) self.wrong_command_test_case = FunctionWrongData.WrongCommandTestCase( self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionMain self.function_global = FunctionGlobal self.test_id = "TS015" self.the_process = self.function_global.ForSetUp().correct_main_menu_entry() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(1) self.countdown_function_2 = FunctionGlobal.CountExecution(1) self.look_function_test_case = FunctionMain.LookFunctionTestCase(self.the_process) self.invest_function_test_case = FunctionMain.InvestFunctionTestCase(self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionAdd import FunctionWrongAdd self.function_global = FunctionGlobal self.test_id = "TS011" self.the_process = self.function_global.ForSetUp().correct_main_menu_entry() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(1) self.countdown_function_2 = FunctionGlobal.CountExecution(3) self.add_site_function_test_case = FunctionAdd.AddSiteFunctionTestCase(self.the_process) self.outside_site_test_case = FunctionWrongAdd.OutsideSiteTestCase(self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionConsole self.function_global = FunctionGlobal self.test_id = "TS009" self.the_process = self.function_global.ForSetUp( ).correct_main_menu_entry() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(2) self.countdown_function_2 = FunctionGlobal.CountExecution(3) self.clear_function_test_case_1 = FunctionConsole.ClearFunctionTestCase( self.the_process) self.clear_function_test_case_2 = FunctionConsole.ClearFunctionTestCase( self.the_process) self.exit_function_test_case = FunctionConsole.ExitFunctionTestCase( self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionSort import FunctionMain self.function_global = FunctionGlobal self.test_id = "TS012" self.the_process = self.function_global.ForSetUp( ).correct_main_menu_3_sites_saved() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(1) self.countdown_function_2 = FunctionGlobal.CountExecution(1) self.alphabetical_sort_test_case = FunctionSort.AlphabeticalSortTestCase( self.the_process) self.percentage_sort_test_case = FunctionSort.PercentageSortTestCase( self.the_process) self.look_function_test_case = FunctionMain.LookFunctionTestCase( self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionAdd import FunctionShowSites self.function_global = FunctionGlobal self.test_id = "TS007" self.the_process = self.function_global.ForSetUp( ).correct_main_menu_entry() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(1) self.countdown_function_2 = FunctionGlobal.CountExecution(10) self.countdown_function_3 = FunctionGlobal.CountExecution(1) self.add_site_function_test_case = FunctionAdd.AddSiteFunctionTestCase( self.the_process) self.write_correct_site_test_case = FunctionAdd.WriteCorrectSiteTestCase( self.the_process) self.show_sites_function_test_case = FunctionShowSites.ShowSitesFunctionTestCase( self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionMain self.function_global = FunctionGlobal self.test_id = "TS014" self.the_process = self.function_global.ForSetUp().correct_main_menu_1_site_saved() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(2) self.look_one_site_function_test_case = FunctionMain.LookOneSiteFunctionTestCase(self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionInfo self.function_global = FunctionGlobal self.test_id = "TS005" self.the_process = self.function_global.ForSetUp( ).correct_main_menu_entry() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(1) self.function_help_test_case = FunctionInfo.FunctionHelpTestCase( self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionWrongMain self.function_global = FunctionGlobal self.test_id = "TS016" self.the_process = self.function_global.ForSetUp( ).correct_main_menu_1_site_saved() self.the_log = "" self.countdown_function_1 = FunctionGlobal.CountExecution(1) self.incorrect_site_details_test_case = FunctionWrongMain.IncorrectSiteDetailsTestCase( self.the_process) self.incorrect_site_removal_test_case = FunctionWrongMain.IncorrectSiteRemovalTestCase( self.the_process)
def setUp(self) -> None: from sys import warnoptions if not warnoptions: import warnings warnings.simplefilter("ignore", ResourceWarning) import FunctionGlobal import FunctionWrongData self.function_global = FunctionGlobal self.test_id = "TS002" self.function_global.ForTearDown().delete_pages_file() self.the_process = self.function_global.ForSetUp().launch_program() self.the_log = self.function_global.ForSetUp().get_first_launch_data( self.the_process) self.countdown_function_1 = FunctionGlobal.CountExecution(5) self.blank_data_written_test_case = FunctionWrongData.BlankDataWrittenTestCase( self.the_process) self.data_wrong_for_file_saving_test_case = FunctionWrongData.DataWrongForFileSavingTestCase( )