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.
pull/491/head
Ben Busby 3 years ago
parent d16ef6d011
commit 6763c2e99d
No known key found for this signature in database
GPG Key ID: 339B7B7EB5333D14

@ -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']

Loading…
Cancel
Save