

def assertPath(self, path, request=(- 1)):
    try:
        request = self.server.requests[request]
    except IndexError:
        raise AssertionError('Cannot assert path without request')
    self.assertEqual(path, request.path)

dataset/ETHPy150Open smartfile/client-python/tests.py TestServerTestCase.assertPath/original