from bmi_tester.bmipytest import load_component


entry_point = 'pymt_hydrotrend.bmi:Hydrotrend'
module_name, cls_name = entry_point.split(":")


def test_component_is_string():
    component = load_component(entry_point)
    assert isinstance(component, str)


def test_component_is_classname():
    component = load_component(entry_point)
    assert component == cls_name

Add tests for load_component function
Add tests for load_component function

It uses the hydrotrend plugin, which is a default installed with pymt.
This might make the tests fragile.
