Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
Steve Armand fa0b6e7c7e Bug 1397849 - Enable py2 and py3 linter on testing/mozbase. r=ahal
MozReview-Commit-ID: GnaVLhtO4un

--HG--
extra : rebase_source : 8839a423c5db505469b813957649b1605ed5737f
2017-09-25 22:57:18 -04:00
Ganti Sai Sarath Chandra 6ed789d12b Bug 1378422 - Add python 2 only classifiers to python modules under /testing, r=ahal
MozReview-Commit-ID: DRi8KFyCnBn

--HG--
extra : rebase_source : 3ac98bdc648f8a0e3dc6d3b6d42e19dfc295a396
2017-08-19 04:19:06 +05:30
Andrew Halberstadt c9beaa56b4 Bug 1373294 - Fix E305 (two blank lines after method or class) in files enabled by flake8 linter, r=jmaher
This is needed before we can upgrade to flake8 3.3.0, as that version starts flagging these errors.

These files were modified by running:
autopep8 --select E305 --in-place -r <dir>

on the affected directories. I did it one dir at a time and verified the result after each.

MozReview-Commit-ID: FmlsfiKIbtr

--HG--
extra : rebase_source : 9df32258cadff5d27a0e72113c57f782756c0b18
2017-06-15 12:10:59 -04:00
Andrew Halberstadt 8415b25e37 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

--HG--
extra : rebase_source : b9266a06583083c36477d4e93f5462ee614cdb71
2016-11-16 16:43:42 -05:00
Andrew Halberstadt 2d76b4f70d 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

--HG--
extra : rebase_source : 10f65e612f5b3cebb921c47699f5a8be7cd2ba5a
2016-11-17 16:36:18 -05:00
Francesco Pischedda f45ed99748 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

--HG--
extra : rebase_source : 3cf0277fb36a296e3506aeacc2ff05e1b03f9eac
2016-09-30 16:08:37 +02:00
Ms2ger 4d796781c7 Bug 1257510 - Use modern exception syntax in mozbase; r=ahal
The comma form is long-deprecated.
2016-03-18 09:03:25 +01:00
Carsten "Tomcat" Book 6244cfb10e Backed out changeset 200da85932e9 (bug 1230862) for valgrind perma failures 2016-02-10 11:04:50 +01:00
Julien Pagès cb348f4346 Bug 1230862 - Remove mozhttpd. r=wlach
--HG--
extra : commitid : HRDp24nhYo8
extra : rebase_source : 76443fa9938e488fcd06af7ba0676d491c9da36e
2016-02-09 03:26:43 +01:00
Julien Pagès 0b1f051953 Bug 1173682 - [mozbase] tests do not remove created directories; r=ahal
--HG--
extra : commitid : JQuf9D0sp3g
extra : rebase_source : a81fd5a0b1c5be7cf98cca6489a2d530638c93c3
2015-06-20 19:23:25 +02:00
Chris Manchester 1c97de1410 Bug 1035006 - Fix pyflakes warnings in mozbase.;r=wlach 2014-07-07 14:51:34 -04:00
Jonathan Griffin 55412b9c2e Bug 917750 - mirror several mozbase packages, r=ahal 2013-10-22 15:42:05 -07:00
Andrew Halberstadt bfcbe4015d Bug 895940 - Mirror mozbase to m-c, r=jhammel 2013-07-25 16:27:53 -04:00
Jeff Hammel 9a5e695ca3 Bug 805633 - update mozhttpd on m-c;r=wlach ; DONTBUILD because NPOTB 2012-11-13 16:10:25 -08:00
Jeff Hammel a42ab51c5b 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
Jonathan Griffin d8e0dcfd02 Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 17:58:39 -07:00
Jonathan Griffin a83f8b8d14 backout 69243e829931 due to OSX 10.7 bustage 2012-09-07 17:05:26 -07:00
Jonathan Griffin 0435762ffe Bug 788842 - Mirror mozbase to m-c, r=jhammel 2012-09-07 15:39:17 -07:00
Jeff Hammel d3a3a3b3de 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 18936b1386 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 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mark Cote 63c9637b10 Bug 724595 Merge mozbase changes from Dec 31 to Feb 1 r=ctalbert 2012-02-08 11:07:19 -08:00
Andrew Halberstadt 6f6b8e59cd Bug 711102 Ensure build environments have logging modules for peptest r=ctalbert 2011-12-15 12:58:37 -06:00
Andrew Halberstadt c17f88643d Bug 706844 - Create a make target for peptest. r=jmaher 2011-12-06 09:26:24 -05:00
Andrew Halberstadt eeb4a855c6 Bug 703266 Mirror mozbase to mozilla-central for peptest r=jhammel 2011-11-29 11:43:16 -05:00