Пример #1
0
 def test_tactics(self):
     # configure from empty and a layer with tactics
     c = BuildConfig()
     c._tactics = ['a', 'b', 'c']
     c = c.new_child()
     c._tactics = ['d', 'c']
     self.assertEqual(c.tactics[:5], ['d', 'c', 'a', 'b', 'c'])
Пример #2
0
 def test_tactics(self):
     # configure from empty and a layer with tactics
     c = BuildConfig()
     c._tactics = ["a", "b", "c"]
     c = c.new_child()
     c._tactics = ["d", "c"]
     self.assertEqual(c.tactics()[:5], ["d", "c", "a", "b", "c"])