Pedro Algarvio
e772f0d8b6
Re-use salt-testing mixin.
2013-06-28 00:12:58 +01:00
Pedro Algarvio
663f54ef9f
Update copyright years of changed files. Added __main__
execution to tests/integration/states/pip.py
.
2013-06-28 00:12:57 +01:00
Pedro Algarvio
222be7b446
Make sure every test module is runnable by __main__
.
...
* Double to single quotes
2013-06-28 00:12:56 +01:00
Thomas S Hatch
e30ce41d7a
we are far enough removed to not need to test version deps here
2013-06-19 12:43:27 -06:00
Pedro Algarvio
c0ead8b2dc
Fix a misplaced continue
on the grains matching logic which caused a traceback.
...
```
[21:18:46,004 [salt.utils.minions :200 ][ERROR ] Failed matching available minions with grain pattern: planets:saturn
Traceback (most recent call last):
File "/home/ubuntu/salt/salt/utils/minions.py", line 197, in check_minions
}[expr_form](expr)
File "/home/ubuntu/salt/salt/utils/minions.py", line 119, in _check_grain_minions
str(match.lower()),
AttributeError: 'list' object has no attribute 'lower'
```
2013-03-13 01:02:15 +00:00
Thomas S Hatch
d70ecc8387
Update doc test to -d changes
2013-03-11 23:27:18 -06:00
Thomas S Hatch
3d1cf71a77
Combine compound matcher tests
2013-02-08 10:57:20 -07:00
Thomas S Hatch
5b16fed6cc
remove unused import
2013-02-07 17:39:20 -07:00
Thomas S Hatch
c5f5bd1e99
Fix tests to better reflect doc matching updates
2013-02-07 15:11:42 -07:00
Pedro Algarvio
aa721e89cf
Fix integration.shell.call.CallTest.test_default_output
.
2013-02-06 05:13:39 +00:00
Thomas S Hatch
a6df51ab1a
Fix test failure due to update in the default nested outputter
2013-01-29 10:23:22 -07:00
Thomas S Hatch
a58202c2f7
Add compound matcher tests
2013-01-29 10:20:02 -07:00
Erik Johnson
77eeb47bea
Add tests for nested grain/pillar matching
...
Also added tests for traditional grain matching when target grain is a
list.
2013-01-26 00:13:51 -06:00
Pedro Algarvio
44b45ffa0c
Too much spaces(PEP-8).
2013-01-15 22:55:20 +00:00
Pedro Algarvio
b1488b61c5
Fix integration.shell.key
output tests.
2013-01-15 21:53:29 +00:00
Pedro Algarvio
4adaab4dce
Update tests to the new deprecation message.
2013-01-15 19:42:01 +00:00
Thomas S Hatch
89525ad6d0
remove pre 0.12.0 test handles
2013-01-15 00:10:19 -07:00
Thomas S Hatch
1ddcd715fb
Reached 0.12, fix outputter test
2013-01-14 23:40:20 -07:00
Thomas S Hatch
a24ff1852a
remove unused import
2013-01-14 21:50:56 -07:00
Pedro Algarvio
36955b4560
Fix integration.shell.matcher.MatchTest.test_ipcadr
.
...
Was skipping because of the latest output changes and how output parsing was done.
2013-01-14 13:04:23 +00:00
Thomas S Hatch
bdae844eec
fix outputter tests that come with changes in the default outputter
2013-01-13 00:01:30 -07:00
Pedro Algarvio
ab74952a37
Since salt versioning changed, so should the depending deprecations.
...
The are some output parser options which should be triggering warnings salt 0.10.6 and should start triggering failures when 0.10.7 came out. Adapt these dependable deprecations to the new versioning convention.
2012-12-15 00:13:31 +00:00
Thomas S Hatch
aa1c55f610
Add tests for pillar matching list objects Fix #2761
2012-12-12 16:37:21 -07:00
Pedro Algarvio
7c5a5d0bd3
Header updates. More copyright to the SaltSatck team. Code author to me(where applicable).
2012-12-11 10:23:37 +00:00
Pedro Algarvio
6c22f65a56
test_issue_2731_masterless()
should clean-up after.
2012-12-05 21:24:19 +00:00
Pedro Algarvio
957f9c61b7
Quiet down these tests a little bit.
2012-12-04 19:14:35 +00:00
Pedro Algarvio
2246bf3d33
Remove unused code.
2012-12-03 23:32:58 +00:00
Pedro Algarvio
bd930cddec
Include a test case for #2731
2012-12-01 23:00:27 +00:00
Pedro Algarvio
c5fe83272f
Even more open()
to salt.utils.fopen()
.
2012-11-18 18:57:10 +00:00
Pedro Algarvio
526ed994b8
Test for deprecation message first and then use the new --out
format.
2012-11-17 17:39:06 +00:00
Pedro Algarvio
52b0c1ba8e
Adapt cherry-picked 2dd188fa18abff3193450472af2192206907b3ba to the new output shell switch.
2012-11-16 18:01:01 +00:00
Pedro Algarvio
ee32784bb4
Make the salt-cp
shell test case work across multiple machines.
2012-11-16 18:00:51 +00:00
Pedro Algarvio
c60e4dd645
Fix tests and "convert" text output to "txt" when choosing outputter.
2012-11-16 00:07:08 +00:00
Pedro Algarvio
e390bd92f4
Fix raw outputter test.
2012-11-15 00:03:31 +00:00
Pedro Algarvio
152088d727
Include another option into the test_salt_documentation_arguments_not_assumed
test.
2012-11-11 20:11:08 +00:00
Pedro Algarvio
527cf4ee38
Don't assume again and expand test.
...
* When introducing the "Don't assume!" changes I also assumed that there were always more than one argument from the shell. Expanded the testcase to include this check.
2012-11-09 11:32:36 +00:00
Pedro Algarvio
75f70e49f3
Include a test case for the previous "Don't assume!" commit.
2012-11-09 11:23:30 +00:00
Pedro Algarvio
3de32be0c9
Fix integration.shell.call.CallTest.test_default_output()
.
2012-11-04 10:29:07 +00:00
Pedro Algarvio
2053c03843
Fix key shell tests to match outputter changes.
2012-11-04 10:08:30 +00:00
Thomas S Hatch
7db30d090a
Fix outputter bug introduced with changes to yaml
2012-10-30 14:41:47 -06:00
Thomas S Hatch
c8e79c9ac3
fix outputter test with changes to yaml outputter
2012-10-30 14:15:23 -06:00
Pedro Algarvio
19d07bbba5
Fix tests in integration.shell.call
.
2012-10-30 17:16:06 +00:00
Pedro Algarvio
cfae86b744
Fix salt-key
tests to comply with the new salt.key
changes.
2012-10-30 17:09:50 +00:00
Thomas S Hatch
1fa5129b90
Fix tests wrt output updates
2012-10-24 22:55:18 -06:00
Pedro Algarvio
cec1cbd477
Fix test if there the host has multiple subnets.
2012-10-07 03:05:00 +01:00
Pedro Algarvio
7e816c291f
Add shell ipcadr
match test.
2012-10-06 01:29:24 +01:00
Pedro Algarvio
496906e413
Add exsel
shell match test.
...
Although this commit does not exactly reference the problem see on #2167 , it was added while working for that issue.
2012-10-05 07:56:23 +01:00
Pedro Algarvio
325902c169
Test to make sure we're outputting kwargs on the user.delete documentation.
2012-09-30 10:59:07 +01:00
Pedro Algarvio
8c6b96db59
Support -d
on the salt
binary. Fixes #1992 .
2012-09-07 19:21:07 +01:00
Pedro Algarvio
0c830784f3
Merge pull request #1974 from s0undt3ch/issues/1964
...
Reduce requirements to generate keys.
2012-09-05 14:38:03 -07:00