Added case for whitelisted url with * wildcard
This commit is contained in:
parent
2dec2b0c53
commit
343de2db51
@ -33,7 +33,7 @@ pytestmark = pytest.mark.usefixtures('qapp', 'config_tmpdir')
|
||||
|
||||
# TODO See ../utils/test_standarddirutils for OSError and caplog assertion
|
||||
|
||||
WHITELISTED_HOSTS = ('qutebrowser.org', 'mediumhost.io')
|
||||
WHITELISTED_HOSTS = ('qutebrowser.org', 'mediumhost.io', 'http://*.edu')
|
||||
|
||||
BLOCKLIST_HOSTS = ('localhost',
|
||||
'mediumhost.io',
|
||||
@ -50,7 +50,8 @@ URLS_TO_CHECK = ('http://localhost',
|
||||
'http://ads.worsthostever.net',
|
||||
'http://goodhost.gov',
|
||||
'ftp://verygoodhost.com',
|
||||
'http://qutebrowser.org')
|
||||
'http://qutebrowser.org',
|
||||
'http://veryverygoodhost.edu')
|
||||
|
||||
|
||||
class BaseDirStub:
|
||||
|
Loading…
Reference in New Issue
Block a user