diff --git a/tests/test_form_pages.py b/tests/test_form_pages.py index b574e4d0f..43f35d52c 100644 --- a/tests/test_form_pages.py +++ b/tests/test_form_pages.py @@ -990,7 +990,7 @@ def test_form_multi_page_many_conditions(pub): # check the cache doesn't get invalidated for every page with mock.patch('wcs.qommon.publisher.Substitutions.invalidate_cache') as invalidate_cache: resp = get_app(pub).get('/test/') - assert invalidate_cache.call_count == call_count + assert invalidate_cache.call_count <= call_count def test_form_multi_page_condition_stored_values(pub):