fixing remains of oobject

This commit is contained in:
hjoaquim
2023-08-15 15:15:47 +01:00
parent 08b32c5fb5
commit 1a8dd753fb
4 changed files with 6 additions and 5 deletions

View File

@@ -274,7 +274,7 @@ class StaticCommandRunner:
@classmethod
def __chart(
cls,
OBBject: OBBject,
obbject: OBBject,
user_settings: UserSettings,
system_settings: SystemSettings,
route: str,

View File

@@ -182,7 +182,7 @@ class LoggingManager(metaclass=SingletonMeta):
self,
user_settings: UserSettings,
system_settings: SystemSettings,
OBBject: OBBject,
obbject: OBBject,
route: str,
func: Callable,
kwargs: Dict[str, Any],
@@ -196,7 +196,7 @@ class LoggingManager(metaclass=SingletonMeta):
User Settings object.
system_settings : SystemSettings
System Settings object.
OBBject : OBBject
obbject : OBBject
OBBject object containing command output and error information.
route : str
Route for the command.

View File

@@ -48,7 +48,7 @@ def filter_inputs(**kwargs) -> dict:
return kwargs
def filter_output(OBBject: OBBject) -> OBBject:
def filter_output(obbject: OBBject) -> OBBject:
"""Filter command output."""
if obbject.warnings:
for w in obbject.warnings:

View File

@@ -39,6 +39,7 @@ def test_filter_inputs_df():
def test_filter_output():
"""Test filter_output."""
OBBject = filter_output(OBBject())
obbject = OBBject()
filter_output(obbject)
assert obbject is not None