Commit 4f7cdb23 authored by Frédéric Dalleau's avatar Frédéric Dalleau

Add a test for the nfsroot tests

Add the data for an nfs test job, and add a test that checks that the
job is properly parsed.
Signed-off-by: default avatarFrédéric Dalleau <>
parent 712da893
Pipeline #3149 passed with stage
in 1 minute and 28 seconds
This diff is collapsed.
......@@ -179,3 +179,13 @@ def test_load_1577786():
with open_relative('./test_data/job_data_1577786') as f:
rawdata = json.load(f)
t = TestJob(rawdata)
def test_load_1663435():
with open_relative('./test_data/job_data_1663435') as f:
rawdata = json.load(f)
t = TestJob(rawdata)
assert t.metadata['image.deployment'] == 'nfs'
assert t.metadata['image.flavour'] == 'nfs'
assert list(sorted(t.results.keys())) == [
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