From 3531f607da2fb8ec33c60d64703f49f580f336d0 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Sat, 23 Oct 2021 15:01:50 +0200 Subject: [PATCH] fixing other orther of tags --- tests/test_workbench.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_workbench.py b/tests/test_workbench.py index e668e8f3..9998decc 100644 --- a/tests/test_workbench.py +++ b/tests/test_workbench.py @@ -67,7 +67,7 @@ def test_workbench_server_condensed(user: UserClient): 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 device['tags'][0]['id'] == 'tag1' + assert 'tag1' in [x['id'] for x in device['tags']] @pytest.mark.xfail(reason='Functionality not yet developed.')