James Laska
551cb1892b
Always run cleanup after running cloud_integration tests
2014-03-12 08:37:01 -04:00
James Tanner
0d6f6ad282
Implement new default cipher class AES256
2014-03-10 16:15:44 -05:00
Dolph Mathews
8808e029f9
spelling correction for "separate"
...
s/seperate/separate/
http://en.wiktionary.org/wiki/separate
2014-03-08 04:51:34 -06:00
Richard C Isaacson
a483e42583
unarchive module: Add creates functionality.
...
Closes GH-5354.
Forklift copy logic into unarchive. Provides integration unit tests.
2014-03-07 18:19:46 -06:00
James Laska
c7d1c1a306
[test_service] correct upstart service name and permissions
...
The 'service' utility was unable to find the 'ansible_test' service due to an
unexpected filename. This patch corrects the filename and adjusts the
permissions to match other service scripts within /etc/init/.
2014-03-07 10:42:13 -05:00
Richard Isaacson
119434d079
Merge pull request #6319 from risaacson/fix_test_dir_inventory
...
Fix TestInventory Unit Tests
Tested clean.
2014-03-06 15:43:45 -06:00
James Laska
868746b095
Correct ansible_distribution typo
...
Redhat != RedHat
2014-03-06 16:16:00 -05:00
James Laska
ba9950a73a
Use correct value of ansible_distribution in integration tests
...
This fixes integration tests when run on a RHEL system. Oddly, the
ansible_distribution='RedHat' when run on RHEL.
2014-03-06 15:52:15 -05:00
James Tanner
85bc14a8eb
Remve debug file from vault unit test
2014-03-06 14:49:55 -05:00
Richard C Isaacson
913c855df4
Formatting cleanup.
...
Post merging of GH-5837 via GH-5749.
2014-03-06 13:08:35 -06:00
g-k-r
dbad5d71c6
modifed test to use get_hosts instead of get_groups
...
closes #5749
Conflicts:
test/units/TestInventory.py
2014-03-06 13:06:08 -06:00
g-k-r
6626cb0b3d
add test same host in different files in dir
...
tests issue #5749
same host defined in different groups which in turn are defined
in different ini files in an inventory directory
Conflicts:
test/units/TestInventory.py
2014-03-06 13:03:25 -06:00
James Tanner
cd6d7ddc97
Fix test_async by using env python
2014-03-06 13:32:05 -05:00
Richard C Isaacson
16fe09eef8
Fixes related to uncommenting test_dir_inventory in TestInventory.
...
0. Uncomment the test.
1. Test fails.
2. Make vars unique per file in test inventory files.
3. Modify token addition to not ast.literal_eval(v) a variable containing a hash.
4. Modify vars to have an escape in test inventory file.
5. Catch exceptions explicitly. Any unknown exceptions should be a bug.
6. Test passes.
2014-03-06 12:09:53 -06:00
Michael DeHaan
94a7fb60fe
Allow escaped comments in inventory files.
2014-03-05 20:10:25 -05:00
Richard C Isaacson
b41d8106ff
Revert "Merge pull request #6287 from risaacson/fix_hash_in_var"
...
This reverts commit a808287451
, reversing
changes made to 6129ea7566
.
2014-03-05 14:49:30 -06:00
Richard Isaacson
a808287451
Merge pull request #6287 from risaacson/fix_hash_in_var
...
Fix inventory for test_dir_inventory, merge PRs from GH-5749, cleanup some formatting.
2014-03-05 14:20:27 -06:00
James Tanner
6129ea7566
Fixes #6298 and adds a sudo unit test for synchronize
2014-03-05 14:51:40 -05:00
Richard C Isaacson
22a1fb28d6
Minor cleanup.
2014-03-05 13:44:15 -06:00
g-k-r
a3c36a6853
modifed test to use get_hosts instead of get_groups
...
closes #5749
Conflicts:
test/units/TestInventory.py
2014-03-05 13:29:47 -06:00
g-k-r
23fee4b836
add test same host in different files in dir
...
tests issue #5749
same host defined in different groups which in turn are defined
in different ini files in an inventory directory
Conflicts:
test/units/TestInventory.py
2014-03-05 13:27:39 -06:00
Richard C Isaacson
49bd8b0b35
Fix inventory for test_dir_inventory
...
It came up that fixing this unit test may relate to another ticket that is open. This work allows us to uncomment this unit test by fixing how we pars variables allowing a quoted variable to contain a '#'.
Work also went into cleaning up some of the test data to clarify what was working.
Lastly work went into cleaning up formatting so that the code is easily read.
2014-03-04 18:31:49 -06:00
Jesse Keating
0c2c37a47a
Avoid range selection on empty groups
...
This prevents a traceback when the group is empty.
Fixes #6258
2014-03-03 13:23:27 -08:00
Michael DeHaan
46ec8759d5
Remove the legacy templating code, which was guarded by deprecation warnings in the previous two releases, and undocumented for a long time. use {{ foo }} to access variables instead of ${foo} or $foo.
2014-02-28 18:38:45 -05:00
Michael DeHaan
956eb91de0
Merge pull request #6198 from jlaska/integration_ec2
...
First pass at ec2 module tests
2014-02-27 10:44:37 -05:00
Chris Church
adeea2c3f3
Added integration test for subversion parameters that need escaping.
2014-02-26 22:44:03 -05:00
James Laska
b589bf1d2e
First pass at ec2 module tests
2014-02-26 16:43:30 -05:00
James Tanner
a37a6983be
Switch from skipIf to SkipTest for TestVaulLib
2014-02-26 14:01:31 -05:00
James Tanner
f5359c310f
Add negative tests for VaultLib
2014-02-26 13:38:58 -05:00
James Tanner
baed7a0ed9
Fixes #6187 Add unit tests for VaultLib
2014-02-26 12:10:09 -05:00
Richard C Isaacson
2bce819519
Fix fails on ubuntu due to missing /etc/motd
...
Some systems that we are testing on may not have /etc/motd. So we need to create a file that we can control and use that for the further tests.
2014-02-25 13:42:33 -06:00
James Tanner
e121ff111d
Fix synchronize unit test to handle checkmode
2014-02-25 09:24:14 -05:00
James Cammarata
f23ccebbdc
Merge branch 'issue_4620' of https://github.com/jimi-c/ansible into jimi-c-issue_4620
2014-02-24 20:30:25 -06:00
James Cammarata
7517cd9398
Moving the assemble test to the correct location
2014-02-24 15:19:06 -06:00
James Cammarata
f03d6a67c8
Adding new tests for assemble role
2014-02-24 14:27:23 -06:00
Michael DeHaan
0a83f743c1
Merge pull request #6146 from jlaska/test_synchronize
...
Correct assert and add with_items test
2014-02-24 15:20:49 -05:00
James Laska
40e0204051
Correct assert and add with_items test
2014-02-24 15:07:23 -05:00
Richard C Isaacson
087f7c230d
Typo fixes.
2014-02-24 11:08:21 -06:00
Richard C Isaacson
0446a030d7
Typo fixes.
2014-02-24 11:06:22 -06:00
Richard C Isaacson
dcbc69b69c
Added script to the new integration tests.
2014-02-24 10:57:22 -06:00
Richard C Isaacson
e2a47162d0
Added test for failed_when to non_destructive integration tests.
2014-02-24 09:40:44 -06:00
Richard C Isaacson
0c33e936d4
Adding tests for the command and shell modules.
2014-02-23 14:51:26 -06:00
Azul
89cee747d9
replace test 'wget' package with 'hello' package
2014-02-23 10:46:39 +00:00
James Tanner
d29da4cba1
Add iterator tests
2014-02-21 14:26:38 -05:00
James Tanner
65e58c21dd
Add test for basic lookups
2014-02-21 11:34:06 -05:00
James Tanner
799fe2c289
Add handlers test
2014-02-21 10:28:27 -05:00
James Tanner
d07032fa5a
Add async test role
2014-02-21 10:00:01 -05:00
Michael DeHaan
92feed3851
Update README.md
2014-02-20 19:28:06 -05:00
Michael DeHaan
f0dd040377
reconnect unit tests to 'make tests'
2014-02-20 19:13:27 -05:00
Michael DeHaan
2177b773c8
Rename tests to test, use old directory name.
2014-02-20 19:11:15 -05:00