Bug 1380338 - Convert taskgraph unit tests to the |mach python-test| framework, r=dustin

These tests can now be run with:
./mach python-test taskcluster/taskgraph

or:
./mach python-test taskcluster

They can now run in parallel by passing in -j.

MozReview-Commit-ID: JXeZV8B04Sf
This commit is contained in:
Andrew Halberstadt
2017-07-12 10:47:14 -04:00
parent b1b7a75372
commit 98b4a9d6fe
19 changed files with 97 additions and 47 deletions

View File

@@ -6,6 +6,7 @@ from __future__ import absolute_import, print_function, unicode_literals
import unittest
from taskgraph.util.treeherder import split_symbol, join_symbol
from mozunit import main
class TestSymbols(unittest.TestCase):
@@ -21,3 +22,7 @@ class TestSymbols(unittest.TestCase):
def test_join_with_group(self):
self.assertEqual(join_symbol('ab', 'xy'), 'ab(xy)')
if __name__ == '__main__':
main()