Bring up to date with cockpit starter kit

This encompasses a number of changes to the build process.
This commit is contained in:
Justin Stephenson 2023-04-13 11:28:00 -04:00
parent a0fffde59d
commit 235f110ec7
32 changed files with 533 additions and 1172 deletions

View file

@ -13,10 +13,12 @@ import configparser
TEST_DIR = os.path.dirname(__file__)
sys.path.append(os.path.join(TEST_DIR, "common"))
sys.path.append(os.path.join(os.path.dirname(TEST_DIR), "bots/machine"))
from testlib import *
import testlib
# Test with pre-recorded journal files
class TestApplication(MachineCase):
# Nondestructive tests all run in the same running VM. This allows them to run in Packit, Fedora, and RHEL dist-git gating
# They must not permanently change any file or configuration on the system in a way that influences other tests.
@testlib.nondestructive
class TestApplication(testlib.MachineCase):
def _login(self, loc="/session-recording", wait="#app"):
self.login_and_go(loc)
b = self.browser
@ -408,4 +410,4 @@ class TestApplication(MachineCase):
b.wait_present("#app")
if __name__ == "__main__":
test_main()
testlib.test_main()