gecko-dev/testing/mozbase/mozinfo
Edwin Gao a4a34c8cfa Bug 1305743 - Add optional parameter to make failure to find mozinfo.json a fatal error r=gbrown
Changes:
- added optional keyword argument to the find_and_update_from_json() function: raise_exception
- the optional keyword argument accepts a boolean value depending on if exception is desired.

Tests
- added a few tests to ensure the expected exceptions are raised only when raise_exception flag is True.

Other changes:
- improved docstring for the find_and_update_from_json() method.

Differential Revision: https://phabricator.services.mozilla.com/D13316

--HG--
extra : moz-landing-system : lando
2018-11-28 22:03:56 +00:00
..
mozinfo Bug 1305743 - Add optional parameter to make failure to find mozinfo.json a fatal error r=gbrown 2018-11-28 22:03:56 +00:00
tests Bug 1305743 - Add optional parameter to make failure to find mozinfo.json a fatal error r=gbrown 2018-11-28 22:03:56 +00:00
setup.cfg Bug 1471625 - Create setup.cfg for universal wheels in mozinfo;r=davehunt 2018-07-03 13:39:20 +02:00
setup.py Bug 1471625 - Bump mozinfo to v1.0.0 and update classifiers;r=davehunt 2018-07-03 14:22:11 +02:00