Well, 95% test coverage is okay I guess
This commit is contained in:
parent
ab5ec2bfae
commit
db0476f9ad
15 changed files with 1851 additions and 78 deletions
7
tests/test_strings.py
Normal file
7
tests/test_strings.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
from bouquin import strings
|
||||
|
||||
|
||||
def test_load_strings_uses_system_locale_and_fallback():
|
||||
# pass a bogus locale to trigger fallback-to-default
|
||||
strings.load_strings("zz")
|
||||
assert strings._("next") # key exists in base translations
|
||||
Loading…
Add table
Add a link
Reference in a new issue