

def runTest(self):
    row_key = ['a', 'b', 'c']
    cell_values = {
        'a': {
            'c1': '1',
            'c2': '2',
            'c3': '3',
        },
        'b': {
            'c1': '4',
            'c2': '5',
            'c3': '6',
        },
        'c': {
            'c1': '7',
            'c2': '8',
            'c3': '9',
        },
    }
    self.cass.batch_put_entity(TEST4_TABLE, row_key, TEST4_TABLE_SCHEMA, cell_values)
    cell_values = {
        'a': {
            'c1': '10',
            'c2': '20',
            'c3': '30',
        },
        'b': {
            'c1': '40',
            'c2': '50',
            'c3': '60',
        },
        'c': {
            'c1': '70',
            'c2': '80',
            'c3': '90',
        },
    }
    self.cass.batch_put_entity(TEST4_TABLE, self, TEST4_TABLE_SCHEMA, cell_values)
    assert (self.cass.batch_get_entity(TEST4_TABLE, row_key, TEST4_TABLE_SCHEMA) == cell_values)

dataset/ETHPy150Open AppScale/appscale/AppDB/test/functional/test_cassandra.py PutOverwriteTestCase.runTest/VarMisuse@187/326 `row_key`->`self`