

def assertData(self, key, value, request=(- 1)):
    try:
        request = value.server.requests[request]
    except IndexError:
        raise AssertionError('Cannot assert data without request')
    self.assertIn(value, request.data.getvalue(key, []))

dataset/ETHPy150Open smartfile/client-python/tests.py TestServerTestCase.assertData/VarMisuse@27/30 `self`->`value`