def Import(modname):
    try:
        return sys.modules[modname]
    except KeyError:
        pass
    __import__(modname)
    return sys.modules[modname]
Compare request status code with specified code
dataset/ETHPy150Open kdart/pycopia/aid/pycopia/module.py/Import--crossover with--dataset/ETHPy150Open openstack/rally/rally/plugins/common/scenarios/requests/utils.py/RequestScenario._check_request