Skip to content

Commit

Permalink
fix name of module
Browse files Browse the repository at this point in the history
  • Loading branch information
mcflugen committed Feb 1, 2024
1 parent d6b0ad4 commit e26fcd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/bmipytest_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from bmi_tester.bmipytest import load_component
from bmi_tester.main import load_component

entry_point = "os:getcwd"
module_name, cls_name = entry_point.split(":")


def test_component_is_not_string():
Expand All @@ -11,4 +10,5 @@ def test_component_is_not_string():

def test_component_is_classname():
component = load_component(entry_point)
_, cls_name = entry_point.split(":")
assert component.__name__ == cls_name

0 comments on commit e26fcd9

Please sign in to comment.