

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

dataset/ETHPy150Open agronholm/apscheduler/tests/test_jobstores.py test_mongodb_null_collection/original