chore: apply flake8-pytest-style linter rules (#8307)
This commit is contained in:
parent
40fb4d16ef
commit
8815511ccb
7 changed files with 23 additions and 23 deletions
|
|
@ -9,7 +9,8 @@ def test_loading_subclass_from_source():
|
|||
module = load_single_subclass_from_source(
|
||||
module_name="ChildClass", script_path=os.path.join(current_path, "child_class.py"), parent_type=ParentClass
|
||||
)
|
||||
assert module and module.__name__ == "ChildClass"
|
||||
assert module
|
||||
assert module.__name__ == "ChildClass"
|
||||
|
||||
|
||||
def test_load_import_module_from_source():
|
||||
|
|
@ -17,7 +18,8 @@ def test_load_import_module_from_source():
|
|||
module = import_module_from_source(
|
||||
module_name="ChildClass", py_file_path=os.path.join(current_path, "child_class.py")
|
||||
)
|
||||
assert module and module.__name__ == "ChildClass"
|
||||
assert module
|
||||
assert module.__name__ == "ChildClass"
|
||||
|
||||
|
||||
def test_lazy_loading_subclass_from_source():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue