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.
main
Ben Busby 2021-10-26 15:04:21 -06:00
parent d16ef6d011
commit 6763c2e99d
No known key found for this signature in database
GPG Key ID: 339B7B7EB5333D14
1 changed files with 0 additions and 6 deletions

View File

@ -53,12 +53,6 @@ def test_config(client):
for key in demo_config.keys(): for key in demo_config.keys():
assert config[key] == demo_config[key] 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 # Test disabling changing config from client
app.config['CONFIG_DISABLE'] = 1 app.config['CONFIG_DISABLE'] = 1
dark_mod = not demo_config['dark'] dark_mod = not demo_config['dark']