@requests_mock.mock()
    def test_upload_context(self, m):
        head_req = m.head("http://127.0.0.1/glance_123",
                          text='Some data',
                          status_code=201)
        put_req = m.put("http://127.0.0.1/glance_123/123")

        self.config(swift_store_multi_tenant=True)
        store = Store(self.conf)
        store.configure()
        content = b'Some data'
        pseudo_file = six.BytesIO(content)
        store.add('123', pseudo_file, len(content),
                  context=self.ctx)
        self.assertEqual(b'0123',
                         head_req.last_request.headers['X-Auth-Token'])
        self.assertEqual(b'0123',
                         put_req.last_request.headers['X-Auth-Token'])
The name of the requested function,
dataset/ETHPy150Open openstack/glance_store/glance_store/tests/unit/test_swift_store.py/TestMultiTenantStoreContext.test_upload_context--crossover with--dataset/ETHPy150Open spantaleev/sijax-python/sijax/core.py/Sijax.requested_function