style: format with ruff
Build and Publish / test (pull_request) Failing after 1m18s
Build and Publish / build (pull_request) Skipped
Build and Publish / Build and Deploy Docs (pull_request) Skipped

This commit is contained in:
perl_d committed 2026-07-06 11:52:21 +02:00
1 parent f475ead8de
commit 18da2fd0b4
181 files changed
+2237 -5272

No files matched your search

+3 -11
View File
@@ -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():