style: format to length 100
This commit is contained in:
@@ -25,23 +25,15 @@ def test_export_error_codes_contains_known_codes():
|
||||
|
||||
|
||||
def test_code_for_exception_class_basic():
|
||||
assert (
|
||||
code_for_exception_class("TellCommunicationError") == "TELL_COMMUNICATION_ERROR"
|
||||
)
|
||||
assert code_for_exception_class("TellCommunicationError") == "TELL_COMMUNICATION_ERROR"
|
||||
assert code_for_exception_class("MountingFailed") == "MOUNTING_FAILED"
|
||||
assert code_for_exception_class("LoopCenteringFailed") == "LOOP_CENTERING_FAILED"
|
||||
|
||||
|
||||
def test_code_for_exception_class_acronyms():
|
||||
assert code_for_exception_class("AXCFailed") == "AXC_FAILED"
|
||||
assert (
|
||||
code_for_exception_class("AareDBCommunicationError")
|
||||
== "AARE_DB_COMMUNICATION_ERROR"
|
||||
)
|
||||
assert (
|
||||
code_for_exception_class("JFJochCommunicationError")
|
||||
== "JF_JOCH_COMMUNICATION_ERROR"
|
||||
)
|
||||
assert code_for_exception_class("AareDBCommunicationError") == "AARE_DB_COMMUNICATION_ERROR"
|
||||
assert code_for_exception_class("JFJochCommunicationError") == "JF_JOCH_COMMUNICATION_ERROR"
|
||||
|
||||
|
||||
def test_code_for_each_concrete_exception_is_in_aare_error_code_enum():
|
||||
|
||||
Reference in New Issue
Block a user