etcd: implement separate system tests

- add t13_etcd test directory
- etcd will be started for the unit tests and each system test
- etcd will load fixture DB export if requested by the test
- existing tests are reused for etcd testing
This commit is contained in:
André Roth
2024-04-21 14:33:15 +02:00
parent f10acb3df8
commit 640c202ee5
57 changed files with 571 additions and 63 deletions
+6
View File
@@ -69,7 +69,13 @@ def run(include_long_tests=False, capture_results=False, tests=None, filters=Non
orig_stdout.write(f"error importing: {test + '.' + fname}: {exc}\n")
continue
testignore = []
if hasattr(testModule, "TEST_IGNORE"):
testignore = testModule.TEST_IGNORE
for name in sorted(dir(testModule), key=natural_key):
if name in testignore:
continue
testout.clear()
o = getattr(testModule, name)