

def test_update_record(cls):
    rec3 = {
        '@my_class': {
            'accommodation': 'hotel',
            'work': 'home',
            'holiday': 'hills',
        },
    }
    cls.app.preprocess_request()
    with cls.client.connection():
        cls.assertIsInstance(cls.client.record_update(cls.rec_position._rid, cls.rec_position._rid, rec3, cls.rec_position._version), list)

dataset/ETHPy150Open calthoff/flask-orientdb/test_flask_orientdb.py FlaskOrientDBTests.test_update_record/original