reworks on tests

This commit is contained in:
2019-12-16 17:14:50 +01:00
parent f0042f2a37
commit 10969ab1e0
9 changed files with 84 additions and 71 deletions

View File

@ -250,7 +250,7 @@ class Dispatcher(register.RegisterDispatcher, CallDispatcher, PublishDispatcher)
except AttributeError:
if DEBUG:
print_exc()
raise AttributeError(_(f'unknown parameter "{key}"'))
raise ValueError(_(f'unknown parameter "{key}"'))
# check mandatories options
config.property.read_only()
mandatories = list(config.value.mandatory())