fixing test_workbench_server_condensed

This commit is contained in:
Cayo Puigdefabregas 2021-11-12 18:31:19 +01:00
parent 37c410bc36
commit a19aa66ecc
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ def test_workbench_server_condensed(user: UserClient):
assert device['rate']['rating'] == 1
assert device['rate']['type'] == RateComputer.t
# TODO JN why haven't same order in actions on each execution?
assert device['actions'][2]['type'] == BenchmarkProcessor.t or device['actions'][2]['type'] == BenchmarkRamSysbench.t
assert any([ac['type'] in [BenchmarkProcessor.t, BenchmarkRamSysbench.t] for ac in device['actions']])
assert 'tag1' in [x['id'] for x in device['tags']]