EXCEPTION REFACTOR: Large scale exception refactor mdipoint, to be tested. If broken scale back this commit and fix tests
This commit is contained in:
1 parent
c6ee5560a0
commit
f2581f0684
6 files changed
+7
-109
No files matched your search
@@ -1,6 +1,5 @@
|
||||
from aare.common.error_codes import (
|
||||
AuthErrorCode,
|
||||
DAQErrorCode,
|
||||
AareErrorCode,
|
||||
code_for_exception_class,
|
||||
error_code_help,
|
||||
@@ -79,6 +78,5 @@ def test_code_for_each_concrete_exception_is_in_aare_error_code_enum():
|
||||
def test_export_error_codes_grouped_includes_aare_error_code():
|
||||
exported = export_error_codes_grouped()
|
||||
assert "AareErrorCode" in exported
|
||||
assert "DAQErrorCode" in exported
|
||||
assert "AuthErrorCode" in exported
|
||||
assert "TELL_COMMUNICATION_ERROR" in exported["AareErrorCode"]
|
||||
Reference in new issue
Block a user