@given(u'a baseline database for injection findings')
def step_impl(context):
    if hasattr(context, 'dburl') is False:
        assert False, "Database URI not specified"
    dbconn = fuzzdb.open_database(context)
    if dbconn is None:
        assert False, "Cannot open database %s" % context.dburl
    dbconn.close()
Test that we can connect to a database. As a side effect, open_database(9 also creates the necessary table(s) that are required.
dataset/ETHPy150Open F-Secure/mittn/mittn/httpfuzzer/steps.py/step_impl