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'])
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"])