From 6763c2e99d354f1a5884dc73b60de65f95fd728e Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Tue, 26 Oct 2021 15:04:21 -0600 Subject: [PATCH] Remove test for deprecated feature Setting config using the URL is a feature that is being deprecated in the next release, so the test for confirming its functionality has been removed. --- test/test_routes.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/test_routes.py b/test/test_routes.py index b894c75..efd1c58 100644 --- a/test/test_routes.py +++ b/test/test_routes.py @@ -53,12 +53,6 @@ def test_config(client): for key in demo_config.keys(): assert config[key] == demo_config[key] - # Test setting config via search - custom_config = '&dark=1&lang_interface=lang_en' - rv = client.get('/search?q=test' + custom_config) - assert rv._status_code == 200 - assert custom_config.replace('&', '&') in str(rv.data) - # Test disabling changing config from client app.config['CONFIG_DISABLE'] = 1 dark_mod = not demo_config['dark']