Skip to content

Commit

Permalink
webui: tests: rename IntegrationTest class and associated file to End…
Browse files Browse the repository at this point in the history
…2EndTest
  • Loading branch information
KKoukiou committed Jun 19, 2023
1 parent 8189fd9 commit e23752e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions ui/webui/test/end2end/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down
4 changes: 2 additions & 2 deletions ui/webui/test/end2end/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
4 changes: 2 additions & 2 deletions ui/webui/test/end2end/storage_encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 2 additions & 2 deletions ui/webui/test/end2end/wizard_navigation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
from step_logger import log_step


class IntegrationTest(MachineCase):
class End2EndTest(MachineCase):
MachineCase.machine_class = VirtInstallMachine

def setUp(self):
Expand Down

0 comments on commit e23752e

Please sign in to comment.