Test: Note to reproducibility of TW-1262.
Almost thought this was fixed already when I ran it the first time and got everything green...
This commit is contained in:
@@ -29,6 +29,10 @@ class TestBug1262(TestCase):
|
|||||||
|
|
||||||
def test_dependency_contains_matches_ID(self):
|
def test_dependency_contains_matches_ID(self):
|
||||||
"""dep.contains matches task IDs"""
|
"""dep.contains matches task IDs"""
|
||||||
|
# NOTE: A more robust test is needed as alternative to this
|
||||||
|
# If it happens that the UUID doesn't contain a 1 nor a 2 the test will
|
||||||
|
# fail, which means it's actually using the UUID.
|
||||||
|
# Still, it passes on most cases. Which is WRONG!.
|
||||||
for char in self.DEPS:
|
for char in self.DEPS:
|
||||||
self.t(("list", "dep.contains:{0}".format(char)))
|
self.t(("list", "dep.contains:{0}".format(char)))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user