Bug 1258497: allow mozunit to pass along kwargs; r=gps
authorDustin J. Mitchell <dustin@mozilla.com>
Mon, 09 May 2016 18:56:24 +0000
changeset 338660 2148df37953cb6dddf9f9a0ac95a38734b49e415
parent 338659 3270563e24035ee0a3a503d82e0568c0dd739e47
child 338661 997ae5a6386621b88513bf5322cd4c82a63862bb
push id1183
push userraliiev@mozilla.com
push dateMon, 05 Sep 2016 20:01:49 +0000
treeherdermozilla-release@3148731bed45 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps
bugs1258497
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1258497: allow mozunit to pass along kwargs; r=gps MozReview-Commit-ID: DzmF3zF5jeD
config/mozunit.py
--- a/config/mozunit.py
+++ b/config/mozunit.py
@@ -162,10 +162,10 @@ class MockedOpen(object):
             return True
 
         abspath = os.path.abspath(p)
         if abspath in self.files:
             return True
 
         return self._orig_path_exists(p)
 
-def main(*args):
-    unittest.main(testRunner=MozTestRunner(),*args)
+def main(*args, **kwargs):
+    unittest.main(testRunner=MozTestRunner(), *args, **kwargs)