from molecule import api


def test_driver_is_detected():
    driver_name = __name__.split(".")[0].split("_")[-1]
    assert driver_name in [str(d) for d in api.drivers()]

[(6, 'molecule.api.drivers', 'api.drivers', False, 'from molecule import api\n')]