From b6cce34d0d7e46dcbe041e149d5748b7833279b4 Mon Sep 17 00:00:00 2001 From: Alison Marczewski Date: Sun, 8 Mar 2020 17:31:20 -0300 Subject: [PATCH] Changing test_mongo_core test script for the new param --- tests/test_mongo_core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_mongo_core.py b/tests/test_mongo_core.py index e62e8d2..88024ad 100644 --- a/tests/test_mongo_core.py +++ b/tests/test_mongo_core.py @@ -195,7 +195,7 @@ def test_stalled_mongo_db_cache(): def test_stalled_mong_db_core(monkeypatch): - def mock_get_entry(self, args, kwargs): # skipcq: PYL-R0201, PYL-W0613 + def mock_get_entry(self, args, kwargs, hash_params): # skipcq: PYL-R0201, PYL-W0613 return "key", {'being_calculated': True} def mock_get_entry_by_key(self, key): # skipcq: PYL-R0201, PYL-W0613 @@ -213,7 +213,7 @@ def test_stalled_mong_db_core(monkeypatch): res = _stalled_func() assert res == 1 - def mock_get_entry_2(self, args, kwargs): # skipcq: PYL-W0613 + def mock_get_entry_2(self, args, kwargs, hash_params): # skipcq: PYL-W0613 entry = { 'being_calculated': True, "value": 1,