FELD Boris
43889c7d79
Add a test for git states support of numeric revision
2014-01-15 17:20:08 +01:00
Pedro Algarvio
106c44587e
Merge pull request #9701 from s0undt3ch/hotfix/ssh-binaries
...
Skip the tests if binaries are missing.
2014-01-11 14:47:14 -08:00
Pedro Algarvio
2bb11d24b9
Skip the tests if binaries are missing.
2014-01-11 14:38:17 -07:00
Pedro Algarvio
c8038d87b1
Use KNOWN_BINARY_NAMES
from salt.modules.virtualenv
2014-01-11 12:19:29 -07:00
Thomas S Hatch
b90b4a0db8
Set tests to refresh fs list cace with every check
2014-01-09 15:10:42 -07:00
Pedro Algarvio
2cab3227fd
The virtualenv binary can have multiple CLI names.
2014-01-02 20:27:18 +00:00
Mike Place
ca57a864b8
Increase timeout for pkg tests.
...
* Since we started running a refresh_db in pkgrepo (7c3d0cc80d
), we may be checking an exit code prematurely. This increases the timeouts to 120 seconds to see if Jenkins will calm itself.
2013-12-30 11:08:32 -07:00
Pedro Algarvio
27a32c5849
Catch the proper exception. White-space fixes.
2013-12-13 08:12:00 +00:00
Thomas S Hatch
781bfe2455
remove reduntant faulty test
2013-12-12 15:18:36 -07:00
Thomas S Hatch
7957455ff9
some pylint fixes for mysql tests
2013-12-12 14:56:45 -07:00
regilero
f1b6b4af55
MySQL tests: add a localhost target on mysqladmin test to check for MySQL server presence
2013-12-12 21:23:52 +01:00
regilero
9195f8e5f7
Lint fix
2013-12-11 14:40:42 +01:00
regilero
3b14cd7cb4
Merge remote-tracking branch 'upstream/develop' into mysql_additions
2013-12-11 00:56:56 +01:00
regilero
82c1cb8e64
MySQL states, grants integration tests
2013-12-11 00:54:05 +01:00
regilero
f980c64bc4
MySQL Module: remove use_unicode connection attribute, not needed for charset managment and would create new bugs with unicode() strings
2013-12-10 23:07:13 +01:00
Pedro Algarvio
2648ed90ba
Fix lint issues.
2013-12-09 20:02:25 +00:00
Thomas S Hatch
8408c1a583
Merge pull request #9053 from regilero/utf8-sls
...
Proposal for utf-8 support in sls files
2013-12-09 10:41:15 -08:00
regilero
6c0b53547d
MySQl: fix states integration tests
2013-12-08 17:10:37 +01:00
Erik Johnson
e618befaf8
Add test case for numeric GECOS data
2013-12-06 16:16:38 -06:00
regilero
3769474d9d
One more test,to be sure
2013-12-05 18:50:31 +01:00
regilero
bd9a0394ae
Integration tests for issue #8947 utf-8 in sls
2013-12-05 18:18:20 +01:00
regilero
b376d1a82b
MySQL States integration module with db tests
2013-12-04 22:33:33 +01:00
Erik Johnson
093065b130
add test for #8614
2013-11-30 22:00:05 -06:00
Pedro Algarvio
8d3e3d3402
Skip the test if python-apt
is not installed for Debian like systems.
2013-11-28 19:26:21 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Thomas S Hatch
eb9ba6fda0
Merge pull request #8756 from s0undt3ch/issues/8343-require_in-KeyError
...
Fix accomulator issues
2013-11-26 13:18:49 -08:00
Erik Johnson
05de056df0
Add an assert to ensure that the state.sls return dict isn't empty
2013-11-25 17:41:03 -06:00
Erik Johnson
1c9f2fc224
Remove grains requirement
...
I had this code here in an early draft of this test, but the grains are
no longer needed here as the stuff that requires grains has been moved
out of the test function and into the SLS files that are run by the
test.
2013-11-25 17:30:18 -06:00
Erik Johnson
a77357f01d
Fix pkgrepo tests when python file is run by itself on CLI
2013-11-25 17:27:26 -06:00
Erik Johnson
c2e346835c
Add pkgrepo tests for CentOS
...
Ubuntu ones will follow soon.
2013-11-25 17:20:32 -06:00
Pedro Algarvio
f0bf78cdc0
Correct the state test case and respective expected output.
2013-11-24 12:15:20 +00:00
Pedro Algarvio
a752421b87
Expose a copy of the state dictionary to state functions.
...
Fixes #8343 since `__sls__` is now available in `__state__` and not on `kwargs`.
Closes #8709 since it's not the right approach.
Fixes #8710 and closes #8711 since I've cherry-picked the fix for #8710 in from #8711 .
2013-11-24 11:08:33 +00:00
Pedro Algarvio
54fc502de0
Some more saltenv related tests.
2013-11-12 06:29:55 +00:00
Pedro Algarvio
d88d34ca24
The GitHub IP changed.
2013-11-11 07:45:10 +00:00
Pedro Algarvio
77101231f2
Install a smaller and with less dependencies package.
2013-11-07 22:09:36 +00:00
Colton Myers
78662d270b
Merge pull request #8325 from cachedout/#7860
...
Add a dir_mode to file.managed
2013-11-07 09:35:54 -08:00
Mike Place
2e6bf21635
Integration testing for file.managed dir_mode argument.
...
Added documentation for dir_mode to file.managed.
2013-11-07 10:19:16 -07:00
Pedro Algarvio
ec0a4bca8e
URL environment selection should also be using saltenv
.
2013-11-06 23:36:40 +00:00
Pedro Algarvio
962f8d4149
Support adding files to the testing prod state env.
2013-11-06 20:18:47 +00:00
Pedro Algarvio
c170d1e572
Updated test cases to include environment selection in states using __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
Erik Johnson
95efdad8ba
Remove ubuntu 32-bit target
2013-10-20 21:47:05 -05:00
Erik Johnson
7984a8c2cf
Apparently the test framework doesn't like private member functions
2013-10-20 21:46:06 -05:00
Erik Johnson
81434578fc
Fix function name
2013-10-20 21:29:36 -05:00
Erik Johnson
1c0d279c59
Fix import error
2013-10-20 20:50:28 -05:00
Erik Johnson
9397840021
More tweaks to package tests
...
This makes package tests work better on CentOS 5, and also adds a 32-bit
target for Ubuntu.
2013-10-20 20:27:45 -05:00
Erik Johnson
90d6d045f1
Move _wait_for_pkgdb_unlock inside of PkgTest class
2013-10-20 18:48:01 -05:00
Erik Johnson
63ee0f1e83
Add function to wait for pkgdb lock to clear
...
Arch pkg tests that call pkg.latest_version seem to fail on running
this function due to the package database still being locked from
previous tests. This adds a function that waits (in 5 second increments)
for up to 60 seconds for the pkgdb to be unlocked.
http://jenkins.saltstack.com/job/salt-rs-arch/474/artifact/salt-runtests.log/*view*/
2013-10-20 18:18:35 -05:00
Erik Johnson
c5f5b400e9
adjust redhat pkg targets for pkg tests
2013-10-20 17:04:27 -05:00
Erik Johnson
62a9385ddf
Don't perform version spec pkg tests on FreeBSD
...
pkg_add does not support this, so this test will fail when
pkg.latest_version is run and an assertion is done to determine the
targeted version.
2013-10-20 16:00:14 -05:00