Commit 937de0f1 authored by Emanuele Aina's avatar Emanuele Aina

tests: Test loading a report from the tiny LXC containers

Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
parent aee4f9dd
This diff is collapsed.
......@@ -189,3 +189,24 @@ def test_load_1663435():
assert list(sorted(t.results.keys())) == [
'nfsroot-simple-boot'
]
def test_load_1699255():
with open_relative('./test_data/job_data_1699255') as f:
rawdata = json.load(f)
t = TestJob(rawdata)
#assert t.metadata['image.deployment'] == 'lxc'
#assert t.metadata['image.flavour'] == 'tiny'
assert list(sorted(t.results.keys())) == [
'tiny-container-system-aa-enforcement',
'tiny-container-system-basic',
'tiny-container-system-connectivity-profile',
'tiny-container-system-device-sharing',
'tiny-container-system-folder-sharing',
'tiny-container-system-seccomp',
'tiny-container-user-aa-enforcement',
'tiny-container-user-basic',
'tiny-container-user-connectivity-profile',
'tiny-container-user-device-sharing',
'tiny-container-user-folder-sharing',
'tiny-container-user-seccomp',
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment