

def test_with_local(self):
    thread_locals.test = {
        
    }
    proxy = LocalProxy('test')
    proxy['foo'] = 'bar'
    self.assertEqual('bar', thread_locals.test['foo'])

dataset/ETHPy150Open Stiivi/bubbles/tests/test_locals.py TestLocalProxy.test_with_local/original