Example #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
Example #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)
Example #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
Example #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)