Jayesh Kariya
f441e232e2
adding states/gnomedesktop unit test case
2015-05-04 16:10:54 +05:30
Jayesh Kariya
b8a8b52f1d
adding states/glusterfs unit test case
2015-05-04 16:09:41 +05:30
Thomas S Hatch
6e18810745
Merge pull request #23209 from jayeshka/disk-states-unit-test
...
adding states/disk unit test case
2015-04-30 08:30:43 -07:00
Thomas S Hatch
6a1e86efce
Merge pull request #23208 from jayeshka/eselect-states-unit-test
...
adding states/eselect unit test case
2015-04-30 08:30:33 -07:00
Thomas S Hatch
6016e00eaf
Merge pull request #23207 from jayeshka/drac-states-unit-test
...
adding states/drac unit test case
2015-04-30 08:30:18 -07:00
Thomas S Hatch
365c16b901
Merge pull request #23206 from jayeshka/composer-states-unit-test
...
adding states/composer unit test case
2015-04-30 08:30:02 -07:00
Thomas S Hatch
9360af2afc
Merge pull request #23205 from jayeshka/debconfmod-states-unit-test
...
adding states/debconfmod unit test case
2015-04-30 08:29:46 -07:00
Jayesh Kariya
c64a939446
adding states/eselect unit test case
2015-04-30 15:49:02 +05:30
Jayesh Kariya
b4b027c547
adding states/drac unit test case
2015-04-30 15:47:53 +05:30
Jayesh Kariya
946872e87f
adding states/disk unit test case
2015-04-30 15:46:39 +05:30
Jayesh Kariya
0e5f4a7087
adding states/debconfmod unit test case
2015-04-30 15:44:29 +05:30
Jayesh Kariya
818aab8a6f
adding states/ddns unit test case
2015-04-30 15:43:17 +05:30
Jayesh Kariya
05ff008741
adding states/composer unit test case
2015-04-30 15:41:45 +05:30
Jayesh Kariya
526383deaa
adding states/cmd unit test case
2015-04-29 17:31:23 +05:30
Mike Place
b4bf7763e3
Merge pull request #23059 from s0undt3ch/features/py-min-version-lint
...
Start checking code to enforce a minimum python version support
2015-04-28 14:05:23 -06:00
Jayesh Kariya
03ac21072d
adding states/cloud unit test case
2015-04-28 09:45:52 -06:00
Justin Findlay
7daffb11f0
Merge pull request #23083 from jayeshka/chef-states-unit-test
...
adding states/chef unit test case
2015-04-27 09:29:02 -06:00
Justin Findlay
846f8b7ffb
Merge pull request #23082 from jayeshka/boto_sqs-states-unit-test
...
adding states/boto_sqs unit test case
2015-04-27 09:26:25 -06:00
Justin Findlay
fc6ca0c117
Merge pull request #23081 from jayeshka/boto_sns-states-unit-test
...
adding states/boto_sns unit test case
2015-04-27 09:25:57 -06:00
Justin Findlay
ba9f6fb2a7
Merge pull request #23080 from jayeshka/boto_route53-states-unit-test
...
adding states/boto_route53 unit test case
2015-04-27 09:25:29 -06:00
Jayesh Kariya
13a4cd8a30
adding states/chef unit test case
2015-04-27 17:08:56 +05:30
Jayesh Kariya
7a34457405
adding states/boto_sqs unit test case
2015-04-27 17:07:06 +05:30
Jayesh Kariya
82c5d1f68b
adding states/boto_sns unit test case
2015-04-27 17:05:34 +05:30
Jayesh Kariya
64adc959b1
adding states/boto_route53 unit test case
2015-04-27 17:03:33 +05:30
Jayesh Kariya
23cc26a1a8
adding states/boto_lc unit test case
2015-04-27 17:01:26 +05:30
Pedro Algarvio
c5a34176e5
Fix imports
2015-04-26 10:53:36 +01:00
Jayesh Kariya
93214d0441
adding states/boto_iam_role unit test case
2015-04-24 17:21:28 +05:30
Nicole Thomas
cf9041744a
Merge pull request #22985 from jfindlay/apache_state_test
...
fix failing apache state unit test
2015-04-23 09:18:23 -06:00
Justin Findlay
10fa7eea14
Merge pull request #22980 from jayeshka/boto_elb-states-unit-test
...
Boto elb states unit test
2015-04-23 08:16:44 -06:00
Justin Findlay
34453b314e
fix failing apache state unit test
2015-04-23 08:09:15 -06:00
Jayesh Kariya
d347bb4e3b
changes as per 2015.2 branch
2015-04-23 17:58:08 +05:30
Jayesh Kariya
06bf61822d
changes as per 2015.2 branch
2015-04-23 17:56:04 +05:30
Jayesh Kariya
6ef51d1b2d
adding states/boto_elb unit test case
2015-04-23 17:29:19 +05:30
Jayesh Kariya
2c03692d04
adding states/boto_elasticache unit test case
2015-04-23 17:27:28 +05:30
Justin Findlay
a70fa267b1
Merge pull request #22936 from jayeshka/boto_dynamodb-states-unit-test
...
adding states/boto_dynamodb unit test case
2015-04-22 08:49:52 -06:00
Justin Findlay
ce1a880025
Merge pull request #22935 from jayeshka/boto_cloudwatch_alarm-states-unit-test
...
adding states/boto_cloudwatch_alarm unit test case
2015-04-22 08:48:19 -06:00
Jayesh Kariya
650435ec44
adding states/boto_dynamodb unit test case
2015-04-22 16:17:29 +05:30
Jayesh Kariya
4e5a101647
adding states/boto_cloudwatch_alarm unit test case
2015-04-22 16:15:54 +05:30
Jayesh Kariya
f78374e34a
adding states/boto_asg unit test case
2015-04-22 16:13:14 +05:30
rallytime
cac386247c
Skip the network state unit tests if sustem is on Python 2.6
...
These tests need to be refactored to be able to run on Python 2.6
2015-04-21 14:13:58 -06:00
Nicole Thomas
f7ccbac1f2
Merge pull request #22884 from jfindlay/merge_22847
...
Merge 22847
2015-04-21 10:15:31 -06:00
Justin Findlay
3640fa59bc
Merge pull request #22889 from jayeshka/blockdev-states-unit-test
...
adding states/blockdev unit test case
2015-04-21 08:48:06 -06:00
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
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
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
cf94017d88
fix saltmod.function unit test
2015-04-16 14:41:46 -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
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