From 05be00c103170bfb79afdbeddea696ec4c69f62b Mon Sep 17 00:00:00 2001 From: Aiden Baker Date: Wed, 4 Sep 2024 10:03:19 -0400 Subject: [PATCH] Removed length --- tests/api2/test_bootenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/api2/test_bootenv.py b/tests/api2/test_bootenv.py index 0acf49c59e1cd..7e048e8afc838 100644 --- a/tests/api2/test_bootenv.py +++ b/tests/api2/test_bootenv.py @@ -18,7 +18,7 @@ def test_get_default_environment_and_make_new_one(): # create new bootenv and activate it call('bootenv.create', {'name': 'bootenv01', 'source': active_be_id}) - assert len(call('bootenv.query', [['name', '=', 'bootenv01']])) == 1 + call('bootenv.query', [['name', '=', 'bootenv01']], {'get': True}) call('bootenv.activate', 'bootenv01')