Exemple #1
0
 def test_takes_app_from_first_task(self):
     x = ResultSet([self.app.AsyncResult('id1')])
     assert x.app is x.results[0].app
     x.app = self.app
     assert x.app is self.app
Exemple #2
0
 def test_takes_app_from_first_task(self):
     x = ResultSet([self.app.AsyncResult('id1')])
     self.assertIs(x.app, x.results[0].app)
     x.app = self.app
     self.assertIs(x.app, self.app)
Exemple #3
0
 def test_takes_app_from_first_task(self):
     x = ResultSet([self.app.AsyncResult('id1')])
     assert x.app is x.results[0].app
     x.app = self.app
     assert x.app is self.app
Exemple #4
0
 def test_takes_app_from_first_task(self):
     x = ResultSet([self.app.AsyncResult('id1')])
     self.assertIs(x.app, x.results[0].app)
     x.app = self.app
     self.assertIs(x.app, self.app)