dev #18

Merged
Arcmyx merged 59 commits from dev into main 2026-06-04 22:05:59 +00:00
Showing only changes of commit 07141a9c35 - Show all commits

View File

@@ -5,7 +5,7 @@ class OSDiagnostics:
self.motorclass = motorclass
self.successfultests = 0
self.failedtests = {}
def testenodev:
def testenodev(self):
try:
# Try to initialize a motor on an empty port (Port.A)
print("Starting Test 6/9: ENODEV - Device Not Found Error")
@@ -23,6 +23,6 @@ class OSDiagnostics:
else:
print(f"Another error occurred with code: {ex.errno}.\nCompleted Test 6/9: ENODEV - FAILED")
self.failedtests["ENODEV"] = ex.errno
def print_results:
def print_results(self):
for key, value in self.failedtests():
print(f"{key}: {value}")