Пример #1
0
 def test_unpickle_v1(self):
     self.app.tasks['txfoo'] = 'bar'
     self.assertEqual(_unpickle_task('txfoo'), 'bar')
Пример #2
0
 def test_unpickle_v1(self, app):
     app.tasks['txfoo'] = 'bar'
     assert _unpickle_task('txfoo') == 'bar'
Пример #3
0
 def test_unpickle_v1(self):
     self.app.tasks['txfoo'] = 'bar'
     self.assertEqual(_unpickle_task('txfoo'), 'bar')