def test_MainFunctionality(self): print("Running the MainFunctionality test for the TestProgramStateSaving.") mainState = ProgramState() self.define() print("Variables defined.") print("1:" + mainState.vault.toString()) mainState.vault.addOutput(self.lclpwd6) print("2:" + mainState.vault.toString()) mainState.vault.addOutput(self.lclpwd5) print("3:" + mainState.vault.toString()) mainState.vault.addInputList(self.passwordListA1) print("4:" + mainState.vault.toString()) mainState.vault.addInputList(self.passwordListA2) print("5:" + mainState.vault.toString()) mainState.vault.addInputList(self.passwordListA3) print("6:" + mainState.vault.toString()) mainState.vault.addInputList(self.passwordListA4) print("7:" + mainState.vault.toString()) mainState.vault.removeOutput(self.lclpwd5) print("8:" + mainState.vault.toString()) mainState.vault.removeOutput(self.lclpwd2) print("9:" + mainState.vault.toString()) mainState.vault.removeInputList(self.passwordListA1) print("10:" + mainState.vault.toString()) mainState.vault.removeInputList(self.passwordListA1) print("11:" + mainState.vault.toString()) mainState.savePickledVault("LocalVault.vlt")
def test_FullFunctionality(self): print("Running the FullFunctionality test for the TestProgramStateLoading.") self.define() mainState = ProgramState() mainState.openPickledVault("LocalVault.vlt") mainState.vault.toString()