示例#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
示例#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)
示例#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
示例#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)