

def test_basic(self):
    conn = Connection('database')
    q = conn.Queue('testing')
    conn.assertRaises(Empty, q.get)
    q.put(serialize({
        'name': 'George Constanza',
    }))
    self.assertEquals(deserialize(q.get()), {
        'name': 'George Constanza',
    })

dataset/ETHPy150Open ask/ghettoq/ghettoq/tests/test_database.py TestDatabaseBackend.test_basic/VarMisuse@26/32 `self`->`conn`