def test_file_error(): """test file error""" mongo_db_access = MongoDBAccess({}, "DEBUG") assert not mongo_db_access.status()
def test_error(): """test_error""" mongo_db_access_error = MongoDBAccess(CONFIG_ERROR, "DEBUG") assert not mongo_db_access_error.status()
def test_ok(): """test_ok""" mongo_db_access_ok = MongoDBAccess(CONFIG, "DEBUG") assert mongo_db_access_ok.status()