Commit Graph
35 Commits
Author SHA1 Message Date
Ganti Sai Sarath Chandra 6bda4ec56b Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal
MozReview-Commit-ID: DRi8KFyCnBn
2017-08-19 04:19:06 +05:30
Andrew Halberstadt 96b97fc11c Bug 1048446 - [mozinstall] Add ability to download and extract installer from a url, r=whimboo
This is a minor convenience for downloading the installer from a url. It uses requests (which should be
available everywhere in-tree).


MozReview-Commit-ID: 8IfiVkYNr06
2017-03-09 12:20:03 -05:00
Andrew Halberstadt 64e33c7c26 Bug 1003417 - Add a 'mozbase' subsuite to python unittests on linux, r=ted
The subsuite is added conditionally because we only have the capability of
running source-check tasks on linux at the moment. Once taskcluster support
for windows and mac has matured a bit and the taskcluster configs support
source-check there, we should apply the subuite unconditionally.

MozReview-Commit-ID: Kk9Irz3fn14
2016-11-16 16:43:42 -05:00
Andrew Halberstadt e7efd21c97 Bug 1317970 - Make mozbase tests use mozunit for consistent formatting, r=chmanchester
The mozbase unittests don't use mozunit, so their output is confusing in the log.
This makes mozbase output consistent with the rest of the python unittests.

MozReview-Commit-ID: AIs5mza8Rn6
2016-11-17 16:36:18 -05:00
Francesco Pischedda 46c0d4af68 Bug 1280573 - Add testing/mozbase to flake8 linter: r=ahal
added testing/mozbase to tools/lint/flake8.lint
fixed a first batch of PEP8 errors/warnings

at first the commad autopep8 -i --max-line-length 99 -r -j 8 .
has been used to fix simpler problems, run from testing/mozbase

some of the issues can not easily fixed :
- undefined 'names' in code for example isLinux - isLinux and isBsd "fixed" with # noqa
- undefined 'message' resolved with return fmt.format(...
- undefined 'structured' resolved replacing those with mozlog
- long comments - some remaining - addressed with # noqa
- package level import everything - addressed with # flake8: noqa

restored testing/mozbase/mozdevice/mozdevice/Zeroconf.py
fixed issues reported on mozreview
fixed ')' in testing/mozbase/mozprocess/mozprocess/qijo.py imports
finally fixed multiline string at testing/mozbase/manifestparser/tests/test_manifestparser.py:114
^^^ and again, but now with ./mach python-test --path-only testing/mozbase/manifestparser/tests/test_manifestparser.py passing
fixed testing/mozbase/manifestparser/tests/test_convert_directory.py assert

fixed this error:
10:15:21     INFO -      return lambda line: stack_fixer_module.fixSymbols(line)
10:15:21     INFO -  TypeError: fixSymbols() takes exactly 2 arguments (1 given)

fixed two spaces lint error even of #  noqa comments
restored assignement to lambda with #  noqa to silence the lint error
global noqa for testing/mozbase/manifestparser/tests/test_filters.py
stupid is/is not error...

MozReview-Commit-ID: 1FpJF54GqIi
2016-09-30 16:08:37 +02:00
Armen Zambrano Gasparnian 9714e46bee Bug 1211885 - Do not try to test if a .dmg file is_tarfile(). r=ahal 2015-10-06 09:51:34 -04:00
Parth Bakshi 816202f00e Bug 1139873 - [mozinstall] get_binary() should not remove the build folder if the specified binary cannot be found. r=whimboo 2015-05-09 10:29:42 -04:00
Julien Pagès 1aac596bfe Bug 1140130 - [mozinstall] Exception during installation should cause already installed files to be removed. r=ahal 2015-05-15 11:01:00 -04:00
Armen Zambrano Gasparnian 1e15d8af7a Bug 1155743 - Change how mozinstall extracts installers, skip tests, remove firefox.exe & release version 1.12. r=ahal 2015-04-23 11:03:01 -04:00
Armen Zambrano Gasparnian 9669266bb3 Bug 1154892 - mozinstall fails to install on Mac with paths which contain white spaces. r=chmanchester 2015-04-17 09:35:00 -04:00
William Lachance 6685910209 Bug 1133076 - Add documentation for mozinstall. r=ahal 2015-02-17 13:48:17 -05:00
Henrik Skupin 4c73bb1dc9 Bug 1131980 - Release mozinstall 1.11 to pypi. r=ahal DONTBUILD 2015-02-11 20:54:23 +01:00
Henrik Skupin aa7ad582c4 Bug 1130905 - [mozinstall] Fix re-raising of exception in case of failing install or uninstall. r=ahal 2015-02-09 19:03:27 +01:00
Ujjwal Wahi 7f367579b4 Bug 1005856 - [mozinstall] Include original error message when re-throw an exception. r=whimboo 2015-01-08 20:45:07 +05:30
Philipp Kewisch 5b01049766 Bug 1095151 - [mozinstall] Don't show finder window when installing a dmg on mac. r=whimboo 2014-11-06 23:29:03 +01:00
Chris Manchester 4a33d5736b Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Joel Maher 1b0550c62e Bug 1003356 - fix mozinstall to have version 1.10 not 0.10. r=wlach 2014-04-29 14:46:08 -04:00
Andrew Halberstadt d3a120536c Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-19 16:42:01 -05:00
Wes Kocher 8fd437b458 Backed out changeset a7f8c25c07ac (bug 949600) for breaking clobber due to new update_permissions code, regardless of whether this is a CLOSED TREE. 2014-02-18 16:12:34 -08:00
Andrew Halberstadt 5e63bce1a7 Bug 949600 - Sync mozbase to m-c one last time, r=wlach 2014-02-18 09:25:58 -05:00
Jonathan Griffin cda0d983a5 Bug 917750 - mirror several mozbase packages, r=ahal 2013-10-22 15:42:05 -07:00
Andrew Halberstadt 9f7260fd65 Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
Jeff Hammel 06931d0d22 Bug 877733 - bump mozinfo, mozprocess, mozdevice, mozinstall version and mirror to m-c;r=jmaher 2013-06-17 13:23:38 -07:00
Jeff Hammel c922cf2d0b Bug 799605 - Mirror mozbase -> m-c for bug 799288 and bug 799507 @ https://github.com/mozilla/mozbase/commit/ 36a2f63be33af799a54d7f1511dc922730b10b22 ; r=wlach 2012-10-10 09:27:06 -07:00
Jeff Hammel 9c9306e728 Bug 790018 - bump version of manifestdestiny and mirror to m-c;r=mcote 2012-09-11 19:46:39 -07:00
Jonathan Griffin 392bbbabf1 Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
Jonathan Griffin 167534c659 backout 69243e829931 due to OSX 10.7 bustage 2012-09-07 17:05:26 -07:00
Jonathan Griffin 61f642c9c8 Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 15:39:17 -07:00
Jeff Hammel 259c8a1bf3 Bug 775127 - Bump mozInstall version and release to pypi and update mozbase on mozilla central. r=ahalberstadt 2012-07-20 20:19:38 -04:00
Siddharth Agarwal 13d13256bb Bug 769808 - Update mozbase on m-c to include fix for bug 769789. r=jhammel 2012-07-03 01:52:54 +05:30
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mark Cote c6fedccee2 Bug 713256 - Mirror mozbase changes for working properly on buildslaves into m-c r=ctalbert 2011-12-23 12:46:37 -05:00
Andrew Halberstadt d6ec4bef22 Bug 708309 - Do not use zipfile.extract in mozbase components for peptest r=jhammel a=test-only 2011-12-13 13:53:51 -06:00
Andrew Halberstadt 61c146e11b Bug 706844 - Create a make target for peptest. r=jmaher 2011-12-06 09:26:24 -05:00
Andrew Halberstadt 55389c380b Bug 703266 Mirror mozbase to mozilla-central for peptest r=jhammel 2011-11-29 11:43:16 -05:00