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
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
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
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