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
parent
d16ef6d011
commit
6763c2e99d
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue