Fixing the tests.

This commit is contained in:
Andrew Bastien 2023-11-19 13:55:42 -05:00
parent 5278ecb730
commit 5b1139cf11
3 changed files with 42 additions and 5 deletions

View file

@ -203,7 +203,7 @@ class ObjManipCommand(COMMAND_DEFAULT_CLASS):
try:
type_class = (
class_from_module(found_typeclass)
class_from_module(found_typeclass, settings.TYPECLASS_PATHS)
if isinstance(found_typeclass, str)
else found_typeclass
)