def get_request():
    request = request_accessor.send(None)
    if request:
        return request[0][1]
    return None
Checks whether actual is a superset of expected.
dataset/ETHPy150Open tonioo/modoboa/modoboa/lib/signals.py/get_request--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/utils/unittest/case.py/TestCase.assertDictContainsSubset