ignore in coverage

This commit is contained in:
Matthias committed 2022-03-12 00:54:08 +01:00
1 parent 5587c04d0d
commit 92398d7b39
1 file changed
+2 -2
+2 -2
View File
@@ -18,12 +18,12 @@ def currency_code_default():
try:
code = InvenTreeSetting.get_setting('INVENTREE_DEFAULT_CURRENCY')
except ProgrammingError:
except ProgrammingError: # pragma: no cover
# database is not initialized yet
code = ''
if code not in CURRENCIES:
code = 'USD'
code = 'USD' # pragma: no cover
return code