

def setUp(self):
    self.client = pyorient.OrientDB('localhost', 2424)
    client = pyorient.OrientDB('localhost', 2424)
    client.connect('root', 'root')
    if (client._connection.protocol < 26):
        self.skipTest('Token not supported in OrientDB < 2.0')

dataset/ETHPy150Open mogui/pyorient/tests/test_token_auth.py TokenAuthTest.setUp/original