mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-06 05:30:57 +00:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user