

def test_mongodb_null_database():
    mongodb = pytest.importorskip('apscheduler.jobstores.mongodb')
    exc = pytest.raises(ValueError, mongodb.MongoDBJobStore, database='')
    assert ('"database"' in str(mongodb.value))

dataset/ETHPy150Open agronholm/apscheduler/tests/test_jobstores.py test_mongodb_null_database/VarMisuse@41/68 `exc`->`mongodb`