From 1859a6ae691f5a675ef3859931d2104a89e73c81 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Thu, 11 Apr 2024 13:10:11 -0400 Subject: [PATCH] Fix failure from DAB (#15102) @AlanCoding said to do this :bus: --- awx/main/tests/unit/utils/test_filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tests/unit/utils/test_filters.py b/awx/main/tests/unit/utils/test_filters.py index 55dd8ddf34..83d9da0e4f 100644 --- a/awx/main/tests/unit/utils/test_filters.py +++ b/awx/main/tests/unit/utils/test_filters.py @@ -69,7 +69,7 @@ class mockHost: @mock.patch('awx.main.utils.filters.get_model', return_value=mockHost()) class TestSmartFilterQueryFromString: @mock.patch( - 'ansible_base.rest_filters.rest_framework.field_lookup_backend.get_fields_from_path', lambda model, path: ([model], path) + 'ansible_base.rest_filters.rest_framework.field_lookup_backend.get_fields_from_path', lambda model, path, **kwargs: ([model], path) ) # disable field filtering, because a__b isn't a real Host field @pytest.mark.parametrize( "filter_string,q_expected",