From e23752ec47fd6c8d2eb1eee0d63976716446874c Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Mon, 19 Jun 2023 09:14:34 +0200 Subject: [PATCH] webui: tests: rename IntegrationTest class and associated file to End2EndTest --- ui/webui/test/end2end/README.md | 12 ++++++------ ui/webui/test/end2end/default.py | 4 ++-- ui/webui/test/end2end/storage_encryption.py | 4 ++-- ui/webui/test/end2end/wizard_navigation.py | 4 ++-- ui/webui/test/helpers/{integration.py => end2end.py} | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) rename ui/webui/test/helpers/{integration.py => end2end.py} (99%) diff --git a/ui/webui/test/end2end/README.md b/ui/webui/test/end2end/README.md index 91014f734d96..3d0122ccc7ff 100644 --- a/ui/webui/test/end2end/README.md +++ b/ui/webui/test/end2end/README.md @@ -18,10 +18,10 @@ sys.path.append(os.path.join(TEST_DIR, "common")) sys.path.append(os.path.join(TEST_DIR, "helpers")) sys.path.append(os.path.join(os.path.dirname(TEST_DIR), "bots/machine")) -from integration import IntegrationTest +from end2end import End2EndTest from testlib import test_main -class ExampleMinimal(IntegrationTest): +class ExampleMinimal(End2EndTest): def test_installation(self): self.run_integration_test() @@ -70,10 +70,10 @@ sys.path.append(os.path.join(TEST_DIR, "common")) sys.path.append(os.path.join(TEST_DIR, "helpers")) sys.path.append(os.path.join(os.path.dirname(TEST_DIR), "bots/machine")) -from integration import IntegrationTest +from end2end import End2EndTest from testlib import test_main -class ExampleSmall(IntegrationTest): +class ExampleSmall(End2EndTest): def test_installation(self): self.run_integration_test() @@ -134,10 +134,10 @@ sys.path.append(os.path.join(TEST_DIR, "common")) sys.path.append(os.path.join(TEST_DIR, "helpers")) sys.path.append(os.path.join(os.path.dirname(TEST_DIR), "bots/machine")) -from integration import IntegrationTest +from end2end import End2EndTest from testlib import test_main -class ExampleLarge(IntegrationTest): +class ExampleLarge(End2EndTest): def test_installation(self): self._installer.open() self.configure_language() diff --git a/ui/webui/test/end2end/default.py b/ui/webui/test/end2end/default.py index aa79d7c01005..45c41b2c2dec 100755 --- a/ui/webui/test/end2end/default.py +++ b/ui/webui/test/end2end/default.py @@ -25,10 +25,10 @@ sys.path.append(os.path.join(TEST_DIR, "helpers")) sys.path.append(os.path.join(os.path.dirname(TEST_DIR), "bots/machine")) -from integration import IntegrationTest # pylint: disable=import-error +from end2end import End2EndTest # pylint: disable=import-error from testlib import test_main # pylint: disable=import-error -class DefaultInstallation(IntegrationTest): +class DefaultInstallation(End2EndTest): def test_default_installation(self): self.run_integration_test() diff --git a/ui/webui/test/end2end/storage_encryption.py b/ui/webui/test/end2end/storage_encryption.py index 27dd20cff8fc..6d3d60aac109 100755 --- a/ui/webui/test/end2end/storage_encryption.py +++ b/ui/webui/test/end2end/storage_encryption.py @@ -25,12 +25,12 @@ sys.path.append(os.path.join(TEST_DIR, "helpers")) sys.path.append(os.path.join(os.path.dirname(TEST_DIR), "bots/machine")) -from integration import IntegrationTest # pylint: disable=import-error +from end2end import End2EndTest # pylint: disable=import-error from testlib import test_main # pylint: disable=import-error from step_logger import log_step # pylint: disable=import-error -class StorageEncryption(IntegrationTest): +class StorageEncryption(End2EndTest): luks_pass = 'password' def configure_storage_encryption(self): diff --git a/ui/webui/test/end2end/wizard_navigation.py b/ui/webui/test/end2end/wizard_navigation.py index ac496fa59a0b..21595095753c 100755 --- a/ui/webui/test/end2end/wizard_navigation.py +++ b/ui/webui/test/end2end/wizard_navigation.py @@ -25,10 +25,10 @@ sys.path.append(os.path.join(TEST_DIR, "helpers")) sys.path.append(os.path.join(os.path.dirname(TEST_DIR), "bots/machine")) -from integration import IntegrationTest # pylint: disable=import-error +from end2end import End2EndTest # pylint: disable=import-error from testlib import test_main # pylint: disable=import-error -class WizardNavigation(IntegrationTest): +class WizardNavigation(End2EndTest): def test_wizard_navigation(self): self._installer.open() self.configure_language() diff --git a/ui/webui/test/helpers/integration.py b/ui/webui/test/helpers/end2end.py similarity index 99% rename from ui/webui/test/helpers/integration.py rename to ui/webui/test/helpers/end2end.py index 07569a6fb235..64496ef95a1d 100644 --- a/ui/webui/test/helpers/integration.py +++ b/ui/webui/test/helpers/end2end.py @@ -35,7 +35,7 @@ from step_logger import log_step -class IntegrationTest(MachineCase): +class End2EndTest(MachineCase): MachineCase.machine_class = VirtInstallMachine def setUp(self):