Bug 1147183 - Avoid test_generate_browsersearch.py printing out unicode. r=mshal
authorMike Hommey <mh+mozilla@glandium.org>
Wed, 25 Mar 2015 07:45:00 +0900
changeset 266368 28e7e3d470f1ad002bafc32526c1673508730104
parent 266367 3b8e79ee4339ea97889ddb1fbd7d86f73d8d696a
child 266369 b23c836ff69ad985f52c42ce62dc7c870b2ad78c
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmshal
bugs1147183
milestone39.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 1147183 - Avoid test_generate_browsersearch.py printing out unicode. r=mshal
python/mozbuild/mozbuild/test/action/test_generate_browsersearch.py
--- a/python/mozbuild/mozbuild/test/action/test_generate_browsersearch.py
+++ b/python/mozbuild/mozbuild/test/action/test_generate_browsersearch.py
@@ -31,17 +31,17 @@ class TestGenerateBrowserSearch(unittest
     """
 
     def _test_one(self, name):
         with TemporaryDirectory() as tmpdir:
             with NamedTemporaryFile(mode='r+') as temp:
                 srcdir = os.path.join(test_data_path, name)
 
                 generate_browsersearch.main([
-                    '--verbose',
+                    '--silent',
                     '--srcdir', srcdir,
                     temp.name])
                 return json.load(temp)
 
     def test_valid_unicode(self):
         o = self._test_one('valid-zh-CN')
         self.assertEquals(o['default'], '百度')
         self.assertEquals(o['engines'], ['百度', 'Google'])