Bug 1501776: [taskgraph] Fix duplicated test name; rs=bustage-fix
authorTom Prince <mozilla@hocat.ca>
Thu, 25 Oct 2018 01:01:23 +0000
changeset 491243 19fb1af8f782fdc2397c59aa0afb686172324879
parent 491242 859742f773aac7807f85894071d47ae6fb6d37bf
child 491244 24b46ea119a07030f321c71007d158277d919e1a
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersbustage-fix
bugs1501776
milestone65.0a1
Bug 1501776: [taskgraph] Fix duplicated test name; rs=bustage-fix Differential Revision: https://phabricator.services.mozilla.com/D9741
taskcluster/taskgraph/test/test_util_schema.py
--- a/taskcluster/taskgraph/test/test_util_schema.py
+++ b/taskcluster/taskgraph/test/test_util_schema.py
@@ -38,17 +38,17 @@ class TestCheckSchema(unittest.TestCase)
         with self.assertRaises(Exception):
             Schema({"camelCase": int})
 
     def test_extend_schema(self):
         "Extending a schema applies taskgraph checks."
         with self.assertRaises(Exception):
             Schema({"kebab-case": int}).extend({"camelCase": int})
 
-    def test_extend_schema(self):
+    def test_extend_schema_twice(self):
         "Extending a schema twice applies taskgraph checks."
         with self.assertRaises(Exception):
             Schema({"kebab-case": int}).extend({'more-kebab': int}).extend({"camelCase": int})
 
 
 class TestResolveKeyedBy(unittest.TestCase):
 
     def test_no_by(self):