qutebrowser/tests/unit/scripts
Florian Bruhin a5fb23458b Clean up filename handling in dictcli/spell.py
Before this change, we sometimes assumed that a dictionary filename had a .bdic
suffix, sometimes not, and sometimes we added it by hand.

For some reason (probably some minor API change?) this currently breaks running
dictcli.py.

While the minimal fix in #4986 works, it only does so because we use re.match
(not re.fullmatch) inside spell.py, so the .bdic suffix (which is present
there) is ignored.

This change instead refactors all dict handling so that the suffix is always
included in the filename, and only stripped off in the last moment when passing
it to QtWebEngine.

Closes #4986
2019-08-27 11:25:00 +02:00
..
importer_sample importer: tests 2017-11-14 19:23:34 -06:00
test_check_coverage.py Fix some typos 2019-08-01 18:24:47 +02:00
test_dictcli.py Clean up filename handling in dictcli/spell.py 2019-08-27 11:25:00 +02:00
test_importer.py Update copyright for 2019 2019-02-22 21:45:08 -08:00
test_run_vulture.py Update copyright for 2019 2019-02-22 21:45:08 -08:00