示例#1
0
 def test_itertasks(self):
     s = State()
     s.tasks = {'a': 'a', 'b': 'b', 'c': 'c', 'd': 'd'}
     assert len(list(s.itertasks(limit=2))) == 2
示例#2
0
 def test_itertasks(self):
     s = State()
     s.tasks = {'a': 'a', 'b': 'b', 'c': 'c', 'd': 'd'}
     assert len(list(s.itertasks(limit=2))) == 2
示例#3
0
 def test_itertasks(self):
     s = State()
     s.tasks = {'a': 'a', 'b': 'b', 'c': 'c', 'd': 'd'}
     self.assertEqual(len(list(s.itertasks(limit=2))), 2)
示例#4
0
 def test_itertasks(self):
     s = State()
     s.tasks = {'a': 'a', 'b': 'b', 'c': 'c', 'd': 'd'}
     self.assertEqual(len(list(s.itertasks(limit=2))), 2)
示例#5
0
 def test_itertasks(self):
     s = State()
     s.tasks = {"a": "a", "b": "b", "c": "c", "d": "d"}
     self.assertEqual(len(list(s.itertasks(limit=2))), 2)
示例#6
0
 def test_itertasks(self):
     s = State()
     s.tasks = {"a": "a", "b": "b", "c": "c", "d": "d"}
     self.assertEqual(len(list(s.itertasks(limit=2))), 2)