Mike Place
8b00513ebb
Removed useless tests
...
These test nothing and break everytime the underlying implementation is changed.
2016-03-04 15:37:49 -07:00
Mike Place
5bf5848e04
Fixup unit test
2016-02-10 14:36:21 -07:00
Steve Hajducko
3544dd995e
Fix lsscsi issues for certain platforms
...
The lsscsi command doesn't support the '-s' flag on any RHEL/CentOs system
until RHEL7.
The command now have an option to specify 'get_size' to enable
compatibility with the older platforms.
Also fixes some issues with lsscsi not being installed and exceptions
getting thrown because of that.
2016-01-27 21:15:26 -08:00
Justin Findlay
66f06f2bd3
disable pkgrepo test for ubuntu 15.10+
2016-01-21 10:55:37 -07:00
Evan Borgstrom
b46df0e4b5
Allow recursive salt:// imports
...
Fixes #30465
2016-01-20 11:20:50 -08:00
Evan Borgstrom
51bfa16173
Add test to prove that recursive imports are currently broken
...
Refs #30465
This also exposes some other issues with the Registry being in an
inconsistent state when an exception occurs when we are rendering.
2016-01-20 09:57:16 -08:00
Justin Findlay
fb9972f590
modules.pkg: disable repo int test for ubuntu 15.10
2016-01-19 15:27:12 -07:00
justinta89
2f77152479
Boto uses False for is_default instead of None
2016-01-19 10:12:11 -07:00
justinta89
e706642152
Skipping some Boto tests until resolved moto issue
...
Similar to #29725 . Though, some of the tests are different, due to the older
branch. I'm not condisidering this a backport because of that.
2015-12-27 22:34:09 -07:00
Mike Place
6a7a95f28a
Merge pull request #28501 from twangboy/jmoney_26898
...
Requested fixes for 26898
2015-12-02 18:12:12 -07:00
twangboy
c0cf33332c
Fixed some Lint...
2015-11-11 14:27:06 -07:00
Justin Findlay
bc7e0cfe64
add file.symlink unit tests
2015-11-11 13:37:47 -07:00
Justin Findlay
9381dc7215
orthogonalize file.symlink unit tests
2015-11-11 13:37:18 -07:00
Mike Place
5293150d25
Fix tests
2015-11-05 08:29:55 -07:00
twangboy
0da6ff7c50
Fixed some logic
2015-11-03 10:09:49 -07:00
twangboy
7d39091c91
Fixed some more lint
2015-11-02 16:51:16 -07:00
twangboy
cf1e059be5
Fixed windows tests
2015-11-02 16:16:22 -07:00
twangboy
3dbd62af2c
Fixed some tests... hopefully
2015-11-02 16:13:07 -07:00
Justin Findlay
9ec72ca724
fix file state unit tests for win symlink feature
2015-10-29 13:50:38 -06:00
Erik Johnson
0d6a4ac115
Remove non-functional test
...
This test was written using an incorrect assumption that the
pillar_roots key created during git_pillar execution lives any longer
than the run that compiles the git_pillar data for a given git_pillar.
2015-10-24 17:39:16 -05:00
twangboy
69c32a663e
Fixed some lint
2015-10-22 11:24:38 -06:00
twangboy
638dec5027
Fixed some tests... let's see if they're really are
2015-10-22 11:05:22 -06:00
Eren Güven
2caf1d21d6
fix test
2015-10-08 14:57:33 +02:00
Oleg Gashev
2a88028595
Added skip test_ext_pillar_env_mapping if git module does not exist.
...
If module named git does not exist, test test_ext_pillar_env_mapping
fail:
======================================================================
ERROR: test_ext_pillar_env_mapping
(integration.modules.pillar.PillarModuleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/git/salt/tests/integration/modules/pillar.py", line 120, in
test_ext_pillar_env_mapping
import git
ImportError: No module named git
Added skip test_ext_pillar_env_mapping test.
2015-10-05 14:47:25 -06:00
Mike Place
0bc37c0d41
Fix test
2015-09-28 12:57:22 -06:00
twangboy
7992b7e20a
Fixed some tests... hopefully...
2015-09-15 16:27:47 -06:00
Justin Findlay
440855b182
Merge pull request #27033 from jfindlay/n0ne
...
Merge #27019
2015-09-15 01:32:17 -06:00
Justin Findlay
3334b9d548
fix comment and unit test for reg state
2015-09-14 16:04:09 -06:00
Justin Findlay
391a09d5ac
update reg state unit tests
2015-09-10 16:16:15 -06:00
Justin Findlay
b36a7107b2
update win_path exec module unit tests
2015-09-10 15:17:46 -06:00
Justin Findlay
2c8beb238f
Merge pull request #27026 from rallytime/bp-27011
...
Back-port #27011 to 2015.5
2015-09-10 15:13:45 -06:00
Seth House
f8518d545f
Move giant eventlisten.sh example out of the state.event docstring
...
This is more interesting than directly useful and doesn't need to
clutter the docs.
2015-09-10 13:38:09 -06:00
Erik Johnson
30a4915762
Update tests to reflect changes to timezone module
2015-09-10 11:05:38 -05:00
Nicole Thomas
eddb532713
Merge pull request #26915 from rallytime/joyent-tests
...
Update Joyent Cloud Tests
2015-09-09 09:04:50 -06:00
Seth House
d68aefcfde
Remove mocks from rest_cherrypy integration tests
...
These mocks predated the inclusion of salt-api into Salt core. They are
now no longer needed and counter-productive.
2015-09-08 15:40:06 -06:00
Seth House
2aa3da8911
Rename the rest_cherrypy tests to conform to our convention
...
Previously they conformed to the default unittest2 convention.
2015-09-08 15:40:06 -06:00
rallytime
d4ad42d697
Update Joyent Cloud Tests
2015-09-04 12:23:05 -06:00
Joe Julian
6108ec4280
Gated dbus for os families that use it
...
Gated the dbus include for os families that are currently using it
within this module at this time.
Renamed some defs to more appropriately express their function.
2015-09-01 15:19:49 -07:00
Erik Johnson
b45f37a467
Add http basic auth tests
2015-08-28 15:43:24 -05:00
Erik Johnson
1ed42ea4fd
Remove git unit tests, moving them to salt.utils.url tests
2015-08-28 15:41:33 -05:00
Mike Place
cf487cf0f5
Merge pull request #26709 from rallytime/fix-14612
...
Ensure VM name is valid before trying to create Linode VM
2015-08-27 14:07:49 -06:00
Colton Myers
c3a6280f8c
Merge pull request #26617 from terminalmage/issue9592
...
Fix Windows failures in pip module due to raw string formatting
2015-08-27 13:24:53 -06:00
rallytime
a3ac8e7008
Whitespace fix
2015-08-27 11:41:14 -06:00
rallytime
9a4228d906
Added unit tests for new _validate_name function and adjusted regex
2015-08-27 11:17:28 -06:00
Colton Myers
64cad371f0
Remove overmocked test
2015-08-26 16:02:42 -06:00
Colton Myers
40718af1d5
Merge remote-tracking branch 'upstream/2014.7' into merge-forward-2015.5
...
Conflicts:
doc/conf.py
salt/modules/win_service.py
tests/integration/cloud/providers/digital_ocean.py
2015-08-26 14:29:57 -06:00
rallytime
c0d83d558d
Don't use id as variable
2015-08-25 11:03:30 -06:00
rallytime
2b4bc1679d
Keep ec2 instance creation test the same - it works better for the ec2 output
2015-08-25 11:01:02 -06:00
rallytime
b5b58eb31f
Skip digital ocean tests since we can't use API v1 with v2 tests
2015-08-25 10:44:28 -06:00
rallytime
9ae1539c62
Update cloud tests to be more efficient and accurate
2015-08-25 09:49:32 -06:00