diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-09 03:35:47 +0000 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2026-04-09 03:35:47 +0000 |
| commit | 68f0c8faf2e2b9024ee24ef97df1895bb117629c (patch) | |
| tree | bc018aa36ce25df9c2e7b16b4e6330899046a4f3 /tests/pytest.ini | |
| parent | a05c578640c1bef9b8704ffb060815e0f946d705 (diff) | |
| download | meta-virtualization-68f0c8faf2e2b9024ee24ef97df1895bb117629c.tar.gz | |
incus: add runtime test suite
pexpect-based tests covering:
- Daemon startup via systemd
- incus-admin group creation
- incus admin init --minimal
- Alpine container launch, exec, stop, delete
Run: pytest tests/test_incus_runtime.py -v --machine qemux86-64
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'tests/pytest.ini')
| -rw-r--r-- | tests/pytest.ini | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/pytest.ini b/tests/pytest.ini index b0a51f7e..6d756a28 100644 --- a/tests/pytest.ini +++ b/tests/pytest.ini | |||
| @@ -10,6 +10,8 @@ markers = | |||
| 10 | memres: marks tests that require memory resident mode | 10 | memres: marks tests that require memory resident mode |
| 11 | network: marks tests that require network access | 11 | network: marks tests that require network access |
| 12 | boot: marks tests that boot a full QEMU image (requires pexpect) | 12 | boot: marks tests that boot a full QEMU image (requires pexpect) |
| 13 | incus: marks incus runtime tests | ||
| 14 | k3s: marks k3s runtime tests | ||
| 13 | 15 | ||
| 14 | # Default options - include junit xml for CI and detailed output | 16 | # Default options - include junit xml for CI and detailed output |
| 15 | addopts = -v --tb=short --junitxml=/tmp/pytest-results.xml | 17 | addopts = -v --tb=short --junitxml=/tmp/pytest-results.xml |
