Justin Findlay
7899914dbe
fix deprecated artifactory state code
2015-04-21 08:38:23 -06:00
Jayesh Kariya
4aac4904b4
adding states/blockdev unit test case
2015-04-21 17:32:30 +05:30
Jayesh Kariya
7674fee99f
adding states/aws_sqs unit test case
2015-04-21 17:30:48 +05:30
Justin Findlay
7fe3efa0f9
Merge pull request #22848 from jayeshka/apache-states-unit-test
...
adding states/apache unit test case
2015-04-20 21:44:42 -06:00
Justin Findlay
15e869d540
Merge pull request #22849 from jayeshka/apt-states-unit-test
...
adding states/apt unit test case
2015-04-20 21:44:15 -06:00
Justin Findlay
42761ee346
Merge pull request #22846 from jayeshka/at-states-unit-test
...
adding states/at unit test case
2015-04-20 21:33:28 -06:00
Colton Myers
ef583295d5
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/beacons/service.py
2015-04-20 11:41:25 -06:00
Matthew Williams
97bd79dd0e
Merge remote-tracking branch 'origin/develop' into boto_dicts
2015-04-20 15:10:51 +00:00
Matthew Williams
5dbba08c04
states.boto_vpc: sync vpc.present/absent and subnet.present/absent with execution module; add tests
2015-04-20 15:09:46 +00:00
Jayesh Kariya
446121750d
adding states/artifactory unit test case
2015-04-20 16:02:46 +05:30
Jayesh Kariya
58ffc0c756
adding states/augeas unit test case
2015-04-20 16:01:10 +05:30
Jayesh Kariya
be7e2e9202
adding states/at unit test case
2015-04-20 15:59:27 +05:30
Jayesh Kariya
e06343bc18
adding states/apt unit test case
2015-04-20 15:57:54 +05:30
Jayesh Kariya
619dd5cce8
adding states/apache unit test case
2015-04-20 15:56:31 +05:30
Nicole Thomas
3049183f07
Merge pull request #22775 from jayeshka/alternatives-states-unit-test
...
adding states/alternatives unit test case
2015-04-17 13:18:30 -06:00
rallytime
1e4b93dec9
Python 3 compat fixes for develop
2015-04-17 12:00:01 -06:00
Jayesh Kariya
f5bb21cd3e
adding states/apache_module unit test case
2015-04-17 17:28:54 +05:30
Jayesh Kariya
283899e939
adding states/alternatives unit test case
2015-04-17 15:26:36 +05:30
Justin Findlay
c82339ba74
fix saltmod.function unit test
2015-04-16 21:09:59 -06:00
Colton Myers
728e74c921
Better return data for mocked saltutil.cmd for saltmod.function
2015-04-16 17:46:32 -06:00
Colton Myers
fd036278e8
Fix iptables test_flush
2015-04-16 17:18:50 -06:00
Justin Findlay
cf94017d88
fix saltmod.function unit test
2015-04-16 14:41:46 -06:00
Colton Myers
000de95974
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
.pylintrc
doc/ref/runners/all/salt.runners.nacl.rst
doc/topics/cloud/config.rst
salt/cli/salt.py
salt/client/mixins.py
salt/client/ssh/__init__.py
salt/loader.py
salt/minion.py
salt/modules/cassandra_cql.py
salt/modules/gpg.py
salt/modules/grains.py
salt/modules/iptables.py
salt/modules/yumpkg.py
salt/netapi/rest_cherrypy/app.py
salt/renderers/pyobjects.py
salt/returners/mysql.py
salt/runners/jobs.py
salt/state.py
salt/states/file.py
salt/states/service.py
salt/utils/minions.py
tests/integration/__init__.py
tests/integration/netapi/rest_tornado/test_app.py
tests/integration/states/cmd.py
2015-04-16 12:15:44 -06:00
Nicole Thomas
1bb93d29af
Merge pull request #22660 from basepi/merge-forward-2015.2
...
[2015.2] Merge forward from 2014.7 to 2015.2
2015-04-16 10:00:11 -06:00
Justin Findlay
bacbf6cfa5
Merge pull request #22741 from jayeshka/lvm-states-unit-test
...
adding states/lvm test case
2015-04-16 07:20:10 -06:00
Jayesh Kariya
a32da0c8df
adding states/lvm test case
2015-04-16 17:09:26 +05:30
Rahul Handay
2a977cada7
Adding states/network.py unit tests
2015-04-16 16:19:21 +05:30
Justin Findlay
e6b6ee8ce5
Merge pull request #22706 from rahulhan/states_nftables_unit_tests
...
Adding states/nftables.py unit test cases
2015-04-15 10:29:23 -06:00
Rahul Handay
d3e25ff4ae
Adding states/nftables.py unit test cases
2015-04-15 18:55:21 +05:30
Rahul Handay
e6b6c41785
Adding states/iptables.py unit tests
2015-04-15 17:15:23 +05:30
Colton Myers
f1ba391624
Trailing slash
2015-04-14 17:23:06 -06:00
Colton Myers
e0c212866b
Missing trailing underscore for test
2015-04-14 12:59:27 -06:00
Nicole Thomas
4f5986cc0d
Merge pull request #22652 from rahulhan/states_group_unit_tests
...
Adding states/group.py unit test cases
2015-04-14 12:46:41 -06:00
Colton Myers
9099884809
Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
...
Conflicts:
doc/topics/cloud/config.rst
salt/modules/win_disk.py
salt/modules/yumpkg.py
salt/pillar/s3.py
salt/states/service.py
salt/utils/event.py
tests/integration/netapi/rest_tornado/test_app.py
tests/integration/netapi/test_client.py
tests/unit/states/archive_test.py
2015-04-14 11:03:03 -06:00
Justin Findlay
d21d360b04
Merge pull request #22642 from rahulhan/states_mdadm_unit_tests
...
Adding states/mdadm.py unit test cases
2015-04-14 08:45:55 -06:00
Justin Findlay
a7e55d6c1c
Merge pull request #22641 from rahulhan/states_locale_unit_tests
...
Adding states/locale.py unit test cases
2015-04-14 08:45:24 -06:00
Justin Findlay
25fedf5e83
Merge pull request #22637 from jayeshka/saltmod-states-unit-test
...
adding states/saltmod unit test case.
2015-04-14 08:42:24 -06:00
Rahul Handay
b61c3ea15e
Adding states/group.py unit test cases
2015-04-14 19:12:49 +05:30
Rahul Handay
8bbb9e010c
Adding states/mdadm.py unit test cases
2015-04-14 16:04:26 +05:30
Rahul Handay
febc12e6b4
Adding states/locale.py unit test cases
2015-04-14 16:02:30 +05:30
Jayesh Kariya
0f6fbf66d7
adding states/saltmod unit test case.
2015-04-14 14:30:58 +05:30
Rahul Handay
7f73bdd523
Adding states/service.py unit test cases
2015-04-14 12:35:50 +05:30
Pedro Algarvio
1181a50d0d
Don't assume we're running the tests as root
2015-04-10 00:52:32 +01:00
Justin Findlay
5c73b1ceb7
Merge pull request #22500 from rahulhan/states_hg_unit_test
...
Adding states/hg.py unit test cases
2015-04-09 09:07:11 -06:00
Justin Findlay
25903258b2
Merge pull request #22496 from rahulhan/states_host_unit_test
...
Adding states/host.py unit test cases
2015-04-09 09:06:49 -06:00
Rahul Handay
2a6073dde5
Adding states/hg.py unit test cases
2015-04-09 15:44:22 +05:30
Rahul Handay
80bf9e8734
Adding states/http.py unit test cases
2015-04-09 15:42:01 +05:30
Rahul Handay
65adbce5e7
Adding states/host.py unit test cases
2015-04-09 13:02:15 +05:30
Justin Findlay
ad7b066dce
Merge pull request #22455 from jayeshka/grains-unit-test
...
adding states/grains unit test case.
2015-04-08 09:05:30 -06:00
Nicole Thomas
f8d81dde1e
Merge pull request #22459 from jayeshka/smtp_states-unit-test
...
adding states/smtp unit test case.
2015-04-08 08:45:27 -06:00
Nicole Thomas
2fd7b8c3b2
Merge pull request #22457 from jayeshka/sysctl-unit-test
...
adding states/sysctl unit test case.
2015-04-08 08:43:06 -06:00
Jayesh Kariya
481e2e4ad0
adding states/smtp unit test case.
2015-04-08 17:54:52 +05:30
Jayesh Kariya
5a016c5eda
cosmetic change
2015-04-08 17:49:38 +05:30
Jayesh Kariya
705c387368
doc string change.
2015-04-08 17:18:04 +05:30
Jayesh Kariya
a9ba68699a
adding states/sysctl unit test case.
2015-04-08 16:25:57 +05:30
Rahul Handay
0fdda87e23
Adding states svn.py unit test cases
2015-04-08 16:20:51 +05:30
Jayesh Kariya
3002729f72
adding states/grains unit test case.
2015-04-08 14:13:20 +05:30
Rahul Handay
a807d2c55b
Adding git.py (states) unit tests
2015-04-07 15:05:25 +05:30
Rahul Handay
034386e855
Adding states event.py unit tests
2015-04-03 11:24:47 +05:30
Justin Findlay
e48df011fa
adding alias state unit tests
2015-04-01 22:12:33 -06:00
Alexander Pyatkin
fdb62788de
Do not parse state name with pip in editable mode
2015-03-24 16:09:38 +00:00
rallytime
12aa7e1ff6
Python 3 compat fix for states/archive_test.py
2015-03-23 15:45:40 -06:00
Colton Myers
70406867a4
Merge remote-tracking branch 'upstream/2015.2' into merge-forward-develop
...
Conflicts:
salt/client/__init__.py
salt/modules/file.py
salt/modules/yumpkg.py
salt/modules/zypper.py
tests/integration/shell/auth.py
tests/unit/states/archive_test.py
tests/unit/states/module_test.py
2015-03-20 20:09:19 -06:00
Colton Myers
18ab3f8275
Is it the underscore of doom?
2015-03-20 13:06:16 -06:00
Colton Myers
d89d8f5d2d
Add the trailing slash
2015-03-20 11:55:45 -06:00
Colton Myers
4eee083691
Reorder mocked arguments
2015-03-20 10:36:25 -06:00
Colton Myers
2b1f400ab4
Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.2
...
Conflicts:
doc/topics/topology/syndic.rst
salt/client/__init__.py
salt/daemons/masterapi.py
salt/minion.py
salt/modules/dockerio.py
2015-03-19 16:03:29 -06:00
Justin Findlay
5f143ecb60
unit tests for states.archive.extracted tar opts
...
Implements tests for #20795 .
2015-03-17 20:40:20 -06:00
Justin Findlay
53c9d48331
fix typo
2015-03-17 19:58:05 -06:00
Alexander Pyatkin
b23c0fa499
Make enhancements to htpasswd modules
2015-03-13 21:18:50 +00:00
Alexander Pyatkin
5edb6cba11
Implement Bower state module
2015-02-21 05:57:54 +00:00
Mike Place
7a9428d9f5
Typo
2015-02-13 10:17:17 -07:00
Mike Place
37b375ba8b
Use cls attr
2015-02-13 10:17:17 -07:00
Mike Place
b9fa5e4e29
Reset env at end of test
2015-02-13 10:17:17 -07:00
jfindlay
a1043ab87a
Merge pull request #20605 from jfindlay/tar
...
fix tar check
2015-02-11 15:04:27 -07:00
Alexander Schwartz
7c6b8f1221
clean up lint messages
2015-02-11 19:57:14 +00:00
Thomas S Hatch
54de4cc592
Merge branch 'feature-20340-gem-sources' of https://github.com/RobertFach/salt into RobertFach-feature-20340-gem-sources
2015-02-10 09:51:22 -07:00
Alexander Schwartz
c05aae9ce7
added archive test script
2015-02-09 14:52:46 +00:00
Mike Place
7dd8aef5b4
Typo
2015-02-06 10:46:31 -07:00
Mike Place
5a90fcfd45
Use cls attr
2015-02-06 09:47:26 -07:00
Mike Place
8459819663
Reset env at end of test
2015-02-06 08:40:50 -07:00
Robert Fach
71d3e34342
implemented&tested gem state sources_add, sources_remove, added test cases
2015-02-04 17:27:35 +00:00
Pedro Algarvio
03763d65b4
Py3 compatibility fixes. Skip tests if no mock available.
2015-01-30 22:25:31 +00:00
Pedro Algarvio
f13718f11c
Py3 compatibility fixes
2015-01-30 22:25:11 +00:00
Pedro Algarvio
60f215f191
Add from __future__ import absolute_import
2015-01-30 22:25:04 +00:00
rallytime
dc23823897
Merge branch '2014.7' into '2015.2'
...
Conflicts:
salt/modules/localemod.py
2015-01-27 13:24:14 -07:00
rallytime
cdc8039b58
Add some mocked variables to fix the file_test failures
...
Also do a little clean up of states/file.py and salt/state.py
2015-01-26 14:11:56 -07:00
Mike Place
f14eeaabc1
Fix more failing tests
2015-01-24 03:16:50 +00:00
Mike Place
05fed01430
Fix failing tests in develop
2014-12-19 11:05:47 -07:00
Thomas S Hatch
6a9195e190
fix bad file perms
2014-12-18 10:42:25 -07:00
Elias Probst
2fe5e0309c
Typo (assertInSalStatetWarning → assertInSaltStateWarning).
2014-12-10 21:04:11 +01:00
Mike Place
b811f633af
Fix one more failing test
2014-12-10 09:33:54 -07:00
Pedro Algarvio
bd7f23ac6f
Switch open()
for salt.utils.fopen()
2014-11-26 20:30:13 +00:00
starzyk1
4bdede0700
Fixes of pylint violations
2014-11-25 12:49:14 +01:00
starzyk1
50fab573c8
Fixes of pylint violations
2014-11-25 11:51:43 +01:00
Konrad Starzyk
6656837ff0
Merge remote-tracking branch 'upstream/develop' into jboss7
2014-11-21 21:52:46 +01:00
Konrad Starzyk
99406c2215
Merge remote-tracking branch 'upstream/develop' into jboss7
2014-11-20 11:20:41 +01:00
Sławek Ehlert
03f464c773
remove the leftovers from the previous file
2014-11-20 00:29:12 +01:00
Sławek Ehlert
e2e4bcf2ae
fix output of subsequent calls for `environ.setenv
` state
...
Previously ``setenv`` function (from ``modules.environ``) was
called even if the environment was already in a proper state.
This caused ``highstate`` to always report changes to be applied
even if they were not required.
2014-11-19 23:56:09 +01:00
Ash Berlin
b1e57b82ea
Allow specifying custom gem
to use in gem state and module
...
Better late than never - here is a PR for issue #13202
2014-11-09 01:06:08 +00:00
Chris Rebert
b9bb56841d
fix numerous typos+misspellings
2014-11-05 13:57:47 -08:00
Konrad Starzyk
5b43246ab9
JBoss7 and Artifactory state/modules
2014-11-04 11:16:30 +01:00
Seth House
0d6e33a419
Merge remote-tracking branch 'upstream/2014.7' into develop
2014-10-28 08:47:18 -05:00
rallytime
19d70dfac5
Added another test to module.run state unit tests
2014-10-24 15:28:03 -06:00
rallytime
f6490e9572
Add initial unit tests for module.run state function
2014-10-24 08:56:40 -06:00
rallytime
2b3d4b8e6b
Import function in syslog_ng_test so tests will run
2014-09-14 08:04:20 -06:00
Thomas S Hatch
5d27e77c92
Merge branch 'feature/postgres_schema' of https://github.com/novapost/salt into novapost-feature/postgres_schema
2014-09-12 10:39:40 -06:00
Pedro Algarvio
da1fb62a67
Fix typo in comment
2014-09-11 18:18:39 +01:00
Rodolphe Quiédeville
b4dcc992c5
- salt/modules/postgres.py: add functions to manipulate schemas
...
- salt/states/postgres_schema.py: new states for schemas
- tests/unit/modules/postgres_test.py: add tests on new functions
- tests/unit/states/postgres_test.py: add tests on new functions
2014-09-11 12:17:18 +02:00
Colton Myers
c7b666fe43
Bring boto state tests from develop to 2014.7
2014-09-03 15:22:55 -06:00
btibi
dcb7d51466
syslog_ng: fix pep8 lint errors and warnings
2014-08-30 11:33:44 +02:00
btibi
e47c18203c
syslog_ng: remove unused pdb import
2014-08-30 11:11:26 +02:00
btibi
69b0deacf6
syslog_ng: add syslog-ng state and execution modules
2014-08-29 23:20:25 +02:00
Jon Henry
5b47b0bdb7
Fix gem unit test with new proxy parameter
2014-08-25 13:55:59 -06:00
Gavin Swanson
d972aeff55
Merge branch 'addCygwin' into develop
2014-08-23 15:56:32 -07:00
Gavin Swanson
4eaa601f3c
Added update and uninstall functions
...
Should be able to remove and update things now. Also doesn't always
update when installing anymore. Update now only called via
salt['cyg.update']()
2014-08-15 20:17:40 -07:00
Gavin Swanson
c8d19409f6
Add cygwin package installation
...
Currently only hadles adding packages. Does not remove packages. It is
setup to update packages any time it is run, but there is no independent
update functionality.
Curently no unit/integration testing is done. I haven't wrapped my head
around the way the mocking and stuff is done yet.
2014-08-15 14:13:22 -07:00
Jon Henry
c065ac4f50
Fix gem unit test with new proxy parameter
2014-08-14 00:22:52 -06:00
Chris Rebert
b7ce0dbe60
more typos after disabling case-sensitivity
2014-08-11 10:57:41 -07:00
Rob Messick
4549ef25a2
Add support for pre_releases argument to the gem state
2014-07-25 12:30:42 -07:00
Colin Johnson
2ad52a5c06
LYFT-14491 - states unit test for rule modification
2014-07-23 22:59:28 +00:00
Khris Richardson
1acd82f3f1
add sphinx spelling extension. enforce en_us
2014-07-13 13:43:33 -05:00
Pedro Algarvio
7862600683
Remove syslog-ng tests. Refs #14163
2014-07-13 00:09:45 +01:00
btibi
f69977d3e5
Add syslog_ng state module.
2014-07-09 22:04:13 +02:00
Michaël Lemaire
7b437abd4f
Fixed MagicMock import in postgres_test
2014-05-28 15:14:22 +02:00
Michaël Lemaire
cd0f4adae8
Fixed postgres_group.present always updating on test=True
2014-05-28 15:11:24 +02:00
Michaël Lemaire
07bedfe362
Fixed state postgres_user always updating on test=True
2014-05-28 15:05:50 +02:00
Michaël Lemaire
a4b3ef9a69
Added unit tests for postgres_user.present
2014-05-28 14:58:53 +02:00
Michaël Lemaire
5126f0a8ac
states.postgres_extension: Fixed unit test patching (and renamed to PostgresExtensionTestCase for future tests)
2014-05-28 14:58:09 +02:00
Pedro Algarvio
4d7ca91424
Remove unnecessary
©️ and :license:
from file headers
2014-05-26 19:26:15 +01:00
David Boucha
9dc182a2f4
fix codeauthor misspellings
2014-05-21 18:59:02 -06:00
Gareth J. Greenaway
823575c901
Unit tests for file state broke after adding the follow_symlnks argument. Tests were looking for a value in a specific position in a dictionary which has been pushed back one value. Also fixing an issue that happened if the file being managed by the module is a symlink, file would be treated as a new file.
2014-05-14 11:30:28 -07:00
Chris Rebert
45981a56f9
lots of copyediting
2014-04-30 12:06:27 -07:00
Pedro Algarvio
18d969a674
Adapt the test to the changes made in 3c284b1b6
.
2014-04-27 12:35:07 +01:00
Pedro Algarvio
d5c90480fb
Bump deprecations to Lithium
2014-04-24 10:15:01 +01:00
Mathieu Le Marec - Pasquet
5ec87461c7
cron: pylint fixes
2014-04-18 12:38:54 +02:00
Mathieu Le Marec - Pasquet
9fa45ca022
cron: fix #11935
2014-04-18 09:14:21 +02:00
Pedro Algarvio
640de961ac
A new argument was added to the call, adjust.
2014-04-08 15:38:22 +01:00
Pedro Algarvio
ea8db1e427
Allow standalone test execution
2014-03-31 03:05:05 +01:00
Mathieu Le Marec - Pasquet
66e98055c9
cron: fix tests
2014-03-11 18:13:06 +00:00
Thomas S Hatch
b3f99f9833
Merge pull request #10776 from ticosax/fix-states.dockerio.run
...
Fix states.dockerio.run
2014-02-27 12:55:23 -07:00
Nicolas Delaby
c6b5ade054
declare encoding
2014-02-26 16:31:38 +01:00
Nicolas Delaby
853b5f4a8f
Add test for states.dockerio.run
2014-02-26 15:42:56 +01:00
Mathieu Le Marec - Pasquet
f9a116ee9c
Support multiline cron comments
...
This fixes #10721 .
2014-02-25 19:52:47 +00:00
Thomas S Hatch
6839eb1a56
fix cron test error in lint
2014-02-20 10:05:56 -07:00
Mathieu Le Marec - Pasquet
bfa176f110
cron: complete matching rework
2014-02-19 22:44:34 +01:00
Mathieu Le Marec - Pasquet
90dc963c1c
cron: better behavior of crontabs tracking
2014-02-19 20:39:44 +01:00
Pedro Algarvio
abedf1978e
Remove unused imports
2014-02-08 08:08:16 +00:00
Pedro Algarvio
22908278a4
Remove unused imports
2014-02-08 08:07:38 +00:00
Pedro Algarvio
140eb8af2b
Remove unused imports
2014-02-08 08:07:17 +00:00
Mathieu Le Marec - Pasquet
7039b4c974
postgres: support for extensions
2014-01-21 19:25:35 +01:00
Pedro Algarvio
e8de5e7077
Don't hardcode the virtualenv binary name
2013-12-31 14:49:22 +00:00
Pedro Algarvio
020d7896c5
Skip if the pip
library is not importable.
2013-12-31 14:22:35 +00:00
Pedro Algarvio
d14af796cc
Skip tests if virtualenv
is not available.
2013-12-31 14:12:02 +00:00
Mathieu Le Marec - Pasquet
1365688bf7
Again, more robustness for zcbuildout tests
2013-12-22 18:52:54 +00:00
Mathieu Le Marec - Pasquet
7d299f9c0f
pylint fixes
2013-12-04 00:25:56 +00:00
Mathieu Le Marec - Pasquet
5f46962e80
pep8 fixes
2013-12-04 00:25:50 +00:00
Mathieu Le Marec - Pasquet
e9246d2a77
Remove bootstrap.py's & adapt tests for zcbuildout module
2013-12-03 17:53:58 +00:00
Mathieu Le Marec - Pasquet
30511257a8
add requires_network for buildout test
2013-12-03 16:51:46 +00:00
Mathieu Le Marec - Pasquet
228c987b76
feat: buildout support
...
This fixes #8856 .
2013-11-29 18:51:20 +00:00
Pedro Algarvio
b21bf4b682
Extra or misplaced white-space
2013-11-27 12:59:56 +00:00
Pedro Algarvio
0ae1a15c61
PEP8 E302 and E303 blank lines fixes.
2013-11-27 12:11:45 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Emil Stenqvist
f487d5568a
Fix for issue #8519
...
Also added a test that fails prior to the fix, illustrating the problem.
2013-11-14 14:26:35 +01:00
Pedro Algarvio
55e0290da6
Fix the mocked contents pillar file state tests.
2013-11-12 07:55:03 +00:00
Pedro Algarvio
4c84b1da3e
State unit tests need to have an hardcoded __env__
.
2013-11-06 20:04:54 +00:00
Henrik Holmboe
77fd1acb7f
Change assertEquals to assertEqual
...
According to
http://docs.python.org/2/library/unittest.html#deprecated-aliases
assertEquals is a deprecated alias of assertEqual.
2013-10-24 11:39:04 +02:00
Seth House
bd897c0bdb
Add unit test for the "python" jinja filter
...
Missing from c91fe1c
(pull req #7866 ).
2013-10-16 09:24:40 -06:00
Pedro Algarvio
3c4f33a935
Adapt remaining test cases which relied on old versioning scheme.
2013-10-04 13:10:35 +01:00
Pedro Algarvio
7ae519c34e
Fix unit.states.rvm_test.TestRvmState.test_installed
2013-09-21 10:42:34 +01:00
Pedro Algarvio
e18ba0758b
Don't include authorship in generated documentation, the Sphinx way.
2013-09-16 17:24:00 +01:00
Pedro Algarvio
22873f63bb
Add another pip installed VCS test case using git+git://
2013-09-09 20:53:52 +01:00
Pedro Algarvio
51a01ef79b
Added mocked pip installation test-case for when pip's version is <=1.1
2013-08-29 10:57:50 +00:00
Pedro Algarvio
456360dc32
Fix test expected output plus an additional one for pip git install.
2013-08-26 17:05:47 +00:00
Pedro Algarvio
6e694791fb
Allow tests to be properly skipped if mock
is not installed.
2013-08-26 17:05:44 +00:00
Pedro Algarvio
5d26a9fd4b
Adapted unit.states.rvm_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
23fa44ff58
Adapted unit.states.pip_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
8f44dec13e
Adapted unit.states.gem_test
to use salttesting.mock
2013-08-26 13:03:08 +00:00
Pedro Algarvio
ef29861ff3
Adapted unit.states.file_test
to use salttesting.mock
2013-08-26 13:03:07 +00:00
Pedro Algarvio
5075898935
No absolute imports.
2013-08-22 21:45:45 +01:00
Pedro Algarvio
52b8da5d13
Adapt to the output when installing a package from a compressed file.
2013-08-22 21:06:06 +01:00
Pedro Algarvio
df8bdf8646
By forcing absolute imports, we don't have to rename the pip state module.
2013-08-22 19:02:18 +01:00
Pedro Algarvio
aea94fd6a2
Another example test case.
2013-08-22 19:02:18 +01:00
Pedro Algarvio
e70827371f
Some more requirements parsing tests
2013-08-22 19:02:18 +01:00
Pedro Algarvio
58ad040872
Use pip.req
for parsing package requirements. Minimal tests.
2013-08-22 19:02:17 +01:00
Pedro Algarvio
2b0bc7056e
Under python 2.6 using {}.format()
(without an index) is a ValueError
.
2013-08-06 19:29:08 +01:00
Roberto Aguilar
74be66baca
Added tests for file.managed contents_pillar param
2013-08-04 22:09:37 -07:00
Pedro Algarvio
42641c6153
Added test case to see if the usage of user
and runas
at the same time raises an exception.
2013-07-27 16:02:59 +01:00
Pedro Algarvio
c072fa0241
Also deprecate runas
on salt.states.pip
.
...
* Added mock tests to check if the deprecation is triggered, and to see if the deprecation is also returned to the user in a warnings key.
2013-07-27 15:58:28 +01:00
Xavier Barbosa
3f49000ba2
unittesting for file.serialize and yaml & json filters
2013-07-08 16:19:19 +02:00
Pedro Algarvio
c04cc4a945
Updated unit.states.rvm_test
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:03 +01:00
Pedro Algarvio
b13340e5ea
Updated unit.states.gem_test
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:13:03 +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
Pedro Algarvio
64a0d631e1
Fix rvm unit tests.
2012-12-11 11:27:21 +00:00
John Debs
4a062f1e69
Logic and test fixes for version, ri, rdoc support in gem state
2012-11-15 18:05:06 -05:00
Jeff Schroeder
07b4c8b4ed
Skip the rvm and gem module/state tests when mock is missing
...
The mock python module is required for the gem and rvm tests.
If it is not available, the tests should be gracefully skipped.
From python runtests.py -u:
test__check_and_install_ruby (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test__check_ruby (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test__check_rvm (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test_gemset_present (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test_installed (unit.states.rvm_test.TestRvmState) ... skipped 'mock python module is unavailable'
test_installed (unit.states.gem_test.TestGemState) ... skipped 'mock python module is unavailable'
test_removed (unit.states.gem_test.TestGemState) ... skipped 'mock python module is unavailable'
test__rvm (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test__rvm_do (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_gemset_list (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_gemset_list_all (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_install (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test_list (unit.modules.rvm_test.TestRvmModule) ... skipped 'mock python module is unavailable'
test__gem (unit.modules.gem_test.TestGemModule) ... skipped 'mock python module is unavailable'
test_list (unit.modules.gem_test.TestGemModule) ... skipped 'mock python module is unavailable'
test_sources_list (unit.modules.gem_test.TestGemModule) ... skipped 'mock python module is unavailable'
2012-06-30 12:29:48 -07:00
Jeroen Dekkers
92ffbaba6e
Be compatible with mock 0.7
2012-06-19 02:19:03 +02:00
L.C. Rees
140e8781df
- py3k updates
2012-05-31 23:31:27 -06:00
Anselm Helbig
d02f0beaee
added proper unit tests for gem and rvm modules and states; fixed bugs in the rvm module's install function and in the rvm state's handling of ruby versions
2012-05-03 11:33:16 +02:00