Makefile: bump our test/common dependency
... and make use of the new pywrap feature from our test.
Use the same eslint and stylelint plugin configuration as the cockpit
main repo.
Co-authored-by: Katerina Koukiou <kkoukiou@redhat.com>
(cherry picked from commit 2215aa3bf8)
This commit is contained in:
parent
8564be5f8f
commit
804a15b07f
4 changed files with 12 additions and 20 deletions
|
|
@ -1,20 +1,15 @@
|
|||
#!/usr/bin/python3
|
||||
#!/usr/bin/python3 -cimport os, sys; os.execv(os.path.dirname(sys.argv[1]) + "/common/pywrap", sys.argv)
|
||||
|
||||
# Run this with --help to see available options for tracing and debugging
|
||||
# See https://github.com/cockpit-project/cockpit/blob/master/test/common/testlib.py
|
||||
# "class Browser" and "class MachineCase" for the available API.
|
||||
|
||||
import os
|
||||
import sys
|
||||
import testlib
|
||||
|
||||
import time
|
||||
import json
|
||||
import configparser
|
||||
|
||||
# import Cockpit's machinery for test VMs and its browser test API
|
||||
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"))
|
||||
import testlib
|
||||
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue