This issue make unit test fails on Python 2
(works on Python 3 but currently _modules/ use Python 2 .iteritems()).
This is a follow-up for cd3273b0.
Differential D1262
Sort jails.flatlist output by alphabetical order dereckson on Nov 24 2017, 04:50. Authored by Tags None Referenced Files
Subscribers None
Details
This issue make unit test fails on Python 2 This is a follow-up for cd3273b0. This fixes the following test issue: ====================================================================== FAIL: test_flatlist (test_jails.Testinstance) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/home/dereckson/dev/nasqueron/ops/repo/_tests/modules/test_jails.py", line 36, in test_flatlist self.assertEqual("guest1 guest2", jails.flatlist()) AssertionError: 'guest1 guest2' != 'guest2 guest1'
Diff Detail
|