def test_unpickle_v1(self): self.app.tasks['txfoo'] = 'bar' self.assertEqual(_unpickle_task('txfoo'), 'bar')
def test_unpickle_v1(self, app): app.tasks['txfoo'] = 'bar' assert _unpickle_task('txfoo') == 'bar'