From c47e3c53dfd97632a82c63c3a318e60fb61c7163 Mon Sep 17 00:00:00 2001 From: Elizabeth Thompson Date: Fri, 17 Mar 2023 16:03:00 -0700 Subject: [PATCH] Update tests/unit_tests/queries/query_object_test.py Co-authored-by: Beto Dealmeida --- tests/unit_tests/queries/query_object_test.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit_tests/queries/query_object_test.py b/tests/unit_tests/queries/query_object_test.py index b9e2528b6b30c..81a654653f21e 100644 --- a/tests/unit_tests/queries/query_object_test.py +++ b/tests/unit_tests/queries/query_object_test.py @@ -30,8 +30,7 @@ def cache_impersonation_flag_side_effect(feature=None): def cache_query_by_user_flag_side_effect(feature=None): - if feature == "CACHE_QUERY_BY_USER": - return True + return feature == "CACHE_QUERY_BY_USER" def test_default_query_object_to_dict():