Commit Graph

79107 Commits

Author SHA1 Message Date
Pedro Algarvio
e2e303e724
Minor changes to paths 2017-03-08 18:34:32 +00:00
Pedro Algarvio
5d599a7048
Seeking from the end of the file can only be done when opened in binary mode in Py3 2017-03-08 18:34:32 +00:00
Pedro Algarvio
712b81e0c1
supervisor does not run against py3. Use pep8 for the tests. 2017-03-08 18:34:32 +00:00
Pedro Algarvio
07d0a5ed20
Cleanup after ourselves 2017-03-08 18:34:32 +00:00
Pedro Algarvio
ad4430249f
Don't complain about basic python types 2017-03-08 18:34:31 +00:00
Pedro Algarvio
c436d9f2f6
This no longer applies. 2017-03-08 18:34:31 +00:00
Pedro Algarvio
0604fdeb8b
Don't warn if the attributes are set to None 2017-03-07 12:23:17 +00:00
Pedro Algarvio
3aa54e6e0e
Clean up after ourselves 2017-03-07 12:23:17 +00:00
Pedro Algarvio
7e3b0d30b4
The file is binary, open and read in binary mode. 2017-03-07 12:23:17 +00:00
Pedro Algarvio
46ba8704cd
Default to showing CPU and MEM, and optionally zombies 2017-03-07 12:23:17 +00:00
Pedro Algarvio
06c77b00d8
Also make sure we cleanup any setUpClass left over attributes 2017-03-07 12:23:17 +00:00
Pedro Algarvio
fd7d665f67
Enable SHOW_PROC just to get some insight. This will be removed before merge. 2017-03-07 12:23:16 +00:00
Pedro Algarvio
ca6084ea64
A more brute force approach to try to reduce memory usage on test runs.
We just keep a record of all the test case class attributes prior to
running the test and then just delete it afterwards.
We also issue a warning log message to tell the users how to cleanup
such references.
2017-03-07 12:23:16 +00:00
Mike Place
a33b8f81f7 Merge pull request #39843 from s0undt3ch/features/3rd-party-imports
Start linting 3rd-party imports
2017-03-06 21:03:16 -07:00
Mike Place
75c02f4e5e Merge pull request #39840 from ninja-/fix_cron_py3
Fix cron for python3
2017-03-06 21:02:57 -07:00
Mike Place
38f7a9a674 Merge pull request #39857 from jettero/profile-tabular-fix
when the output is tabular and profiled, nothing lines up right..
2017-03-06 14:52:14 -07:00
Paul Miller
2b1fa1e055 when the output is tabular and profiled, nothing lines up right... :>7 ftw 2017-03-06 15:10:22 -05:00
Nicole Thomas
76adf65880 Merge pull request #39853 from rallytime/merge-develop
[develop] Merge forward from 2016.11 to develop
2017-03-06 11:44:38 -07:00
Nicole Thomas
102efdbe71 Merge pull request #39844 from dankolbrs/develop
Fixes an incredibly small typo in the Django returner docstring
2017-03-06 09:19:10 -07:00
rallytime
a3fe63f972 Merge branch '2016.11' into 'develop'
No conflicts.
2017-03-06 09:12:01 -07:00
Pedro Algarvio
878e770088
Bump required SaltPyLint version 2017-03-06 15:28:58 +00:00
Pedro Algarvio
303939380d
Disable import-errors 2017-03-06 14:42:32 +00:00
Pedro Algarvio
3ec0870ef6
Disable 3rd-party-module-not-gated 2017-03-06 14:42:31 +00:00
Pedro Algarvio
7dc6b64689
No need to call .keys() when iterating a dictionary 2017-03-06 14:42:31 +00:00
Pedro Algarvio
0da3c1f808
We ship six 2017-03-06 14:35:18 +00:00
Pedro Algarvio
41543bba99
Disable pylint blacklisted-external-module 2017-03-06 14:35:18 +00:00
Pedro Algarvio
ffec7dc299
Lint fixes 2017-03-06 14:35:16 +00:00
Pedro Algarvio
1e167d4042
pytest and pytestsalt should be considered good 3rd-party imports on develop 2017-03-06 14:35:16 +00:00
Pedro Algarvio
dae1025977
This option is now on a disable pylint plugin 2017-03-06 14:35:15 +00:00
Pedro Algarvio
f79ac6690a
We can ignore local imports(to functions/if statements) convention errors.
If the users has put those imports within a function body or inside an
if statement, he's probably making sure no `ImportError` is raised.
2017-03-06 14:35:14 +00:00
Pedro Algarvio
6c9152764d
Use tests.support.mock 2017-03-06 14:35:13 +00:00
Pedro Algarvio
140b97ee8b
We need __version__ in the tests.support.mock scope 2017-03-06 14:35:12 +00:00
Pedro Algarvio
d13b40554b
Use the __version__ variable from tests.support.mock 2017-03-06 14:35:12 +00:00
Pedro Algarvio
187da80f4a
Cleanup imports 2017-03-06 01:20:23 +00:00
Pedro Algarvio
d7f05e68ee
Start linting 3rd-party imports 2017-03-06 00:51:19 +00:00
Dan Kolb
876709dcaf fixes an incredibly small typo in the django returner docstring 2017-03-05 17:06:57 -06:00
ninja-
a32bc2dcb3 Fix 'runas' functionality of cmdmod for python3 2017-03-05 14:30:53 +01:00
ninja-
99ef3647f6 Fix cron module for python3 2017-03-05 14:30:07 +01:00
Pedro Algarvio
5de563bb77 Merge pull request #39806 from cachedout/thin_zip
Support the creation of .zip thin file
2017-03-04 19:58:08 +00:00
Mike Place
3341e4e202 Merge pull request #39492 from whiteinge/full_return-arg
Add full_return arg to LocalClient and RunnerClient
2017-03-04 09:14:17 -07:00
Mike Place
c10abec6d3 Merge pull request #39797 from twangboy/win_fix_test_git
Fix test_worktree_add_rm test for Windows
2017-03-04 09:12:12 -07:00
Mike Place
faffb834a6
Support the creation of .zip thin file 2017-03-04 09:10:07 -07:00
Mike Place
bcc26d2721 Merge pull request #39821 from mitodl/develop
Added fix for empty overrides value in apply config methods
2017-03-04 09:04:57 -07:00
Mike Place
cf483d5480 Merge pull request #39825 from terminalmage/fix-docker-timeout
Fix regression in docker module when client is spawned
2017-03-04 09:02:48 -07:00
Mike Place
b912af6063 Merge pull request #39829 from moio/minionswarm-delay-starts
minionswarm.py: add flag to delay starts
2017-03-04 09:01:28 -07:00
Silvio Moioli
573d6e9dfb minionswarm.py: add flag to delay starts 2017-03-04 14:52:18 +01:00
Erik Johnson
830c4b8914 Fix regression in docker module when client is spawned
PR #39597 broke this module by introducing an UnboundLocalError. This
fixes that error.
2017-03-03 16:19:08 -06:00
Pedro Algarvio
69f1c0fc64 Merge pull request #39822 from s0undt3ch/features/py3
A tiny bit more of py3
2017-03-03 22:12:11 +00:00
Pedro Algarvio
44ba96613b
This needs to be done as a PyLint plugin not as this kind of test.
It's the only way we can check all code paths of the __virtual__
function.
Regarding the 3rd-party modules gating, we also need to create a pylint
plugin which known what are the hard deps of Salt and will complain on
all other 3rd-party imports.
2017-03-03 20:35:17 +00:00
Pedro Algarvio
f4732d5433
Lint fixes 2017-03-03 19:28:45 +00:00