1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
Commit graph

8996 commits

Author SHA1 Message Date
James Laska
a77ea0f942 Allow custom nosetests parameters
The NOSETESTS variable can be used to support customizing the nosetests
parameters.  This allows providing custom nose parameters such as
--with-coverage.
2014-02-21 15:37:16 -05:00
James Tanner
d29da4cba1 Add iterator tests 2014-02-21 14:26:38 -05:00
Michael DeHaan
a65d53462d Update README.md 2014-02-21 12:58:09 -05:00
Michael DeHaan
597809f5d4 Update README.md
Minor readme tweaks since I haven't edited this in a while.
2014-02-21 12:55:31 -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
9bb2027397 Merge pull request #6105 from tonk/with_vault
Added ansible-vault to the installer
2014-02-21 08:24:13 -05:00
Michael DeHaan
f4a5d48ba8 Merge pull request #6103 from bryfry/patch-1
fix json typo in documentation
2014-02-21 08:23:34 -05:00
Ton Kersten
ad687fcefd Added ansible-vault to the installer 2014-02-21 09:18:49 +01:00
bryfry
afd9dd7fed fix json typo 2014-02-20 23:02:07 -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
Michael DeHaan
de600f0040 Move integration tests into tests_new. 2014-02-20 19:10:38 -05:00
James Cammarata
876da62f82 Add data test for ping 2014-02-20 18:00:19 -05:00
James Cammarata
b02ef611e3 Adding a new test for the ping module 2014-02-20 17:41:23 -05:00
Michael DeHaan
379fe02104 Move inventory tests into subdir, prune non-integration tests. 2014-02-20 17:16:58 -05:00
Michael DeHaan
fe7d3773ae Various tests using datafiles are being moved into the integration test framework (tests_new right now).
The unit test infrastructure will remain for things that are mocked out and testable with out filesystem
side effects, and a few cases of things that might not be quite so much (like inventory) that can still
benefit from heavy access to the API.

See the 'tests_new/integration' directory, this will soon fold into tests_new.
2014-02-20 17:16:58 -05:00
Michael DeHaan
0581746a80 Removing tests from units that are now implemented in the new upgraded test system. Once
we're a little further along the units directory will be reserved to pure-API tests.
2014-02-20 17:16:58 -05:00
James Tanner
03d3ba723b Remove -e for echo in test_facts_d 2014-02-20 17:09:46 -05:00
Richard C Isaacson
0719be852f Update in response to ubuntu issues. 2014-02-20 16:56:40 -05:00
James Cammarata
3baf2dc095 Adding new test for conditional behavior 2014-02-20 16:43:33 -05:00
James Cammarata
87f2e362b3 Adding new test for always_run option in check mode 2014-02-20 16:11:17 -05:00
James Tanner
e4970c0933 Test for facts.d 2014-02-20 16:05:50 -05:00
Richard C Isaacson
e12b2aba96 Fix selinux in the new tests for the file module.
We had some incorrect logic for when selinux is installed and disabled.
2014-02-20 15:59:25 -05:00
Richard C Isaacson
b8ea1cfa69 Fixed when running on a system with selinux which is disabled. 2014-02-20 15:52:57 -05:00
Michael DeHaan
b2e5903853 Add some missing files for filters and ignore_errors tests 2014-02-20 15:34:02 -05:00
James Cammarata
fa1ab231c9 Fixing bug in which playbook vars were not merged properly
This occurred when a hash would be passed in via extra args and the
hash variable behavior was set to 'merge', which resulted in the
variable from extra args replacing the playbook variable.
2014-02-20 15:25:52 -05:00
James Cammarata
d158ec382c Adding new test for hash behavior (merge vs. replace) 2014-02-20 15:25:52 -05:00
Michael DeHaan
bc65956798 Add tests that leverage most of our custom filters. A few more to add. 2014-02-20 15:24:03 -05:00
James Tanner
8336cd7fa6 Check for no change in test_yum 2014-02-20 15:07:54 -05:00
James Tanner
f51e16014f apt re-run verification 2014-02-20 15:01:23 -05:00
James Tanner
2b3856f1b6 Add apt test role 2014-02-20 14:56:01 -05:00
Michael DeHaan
50e5d81777 Remove the check in the 'hg' integration tests for the 'heads' file, as that was a bit of an idiom
copied over from the svn module.
2014-02-20 14:38:00 -05:00
Richard C Isaacson
ea21e5b5dd Cleanup of uid bits. 2014-02-20 14:32:27 -05:00
Richard C Isaacson
10e116ea78 Cleaning up my asserts 2014-02-20 14:25:42 -05:00
Richard C Isaacson
fc648a65ef Change the uids that we use so that there is a lesser change of collision and check the uid rather than the owner. 2014-02-20 14:08:18 -05:00
Richard C Isaacson
92cb8dd34e Unarchive tests. 2014-02-20 14:00:26 -05:00
James Cammarata
ce358e70bd Added 'expanduser' filter to the docs 2014-02-20 13:51:01 -05:00
James Cammarata
f5505425f9 Adding 'expanduser' filter to the core filters list
Example usage: {{ my_path | expanduser }} # my_path: "~/path/to/file"
2014-02-20 13:48:07 -05:00
Michael DeHaan
aafd08bab7 Add a test for the ignore_errors keyword. 2014-02-20 13:47:55 -05:00
James Tanner
57fc86ec3c Add yum tests 2014-02-20 13:41:55 -05:00
James Cammarata
021ae05f33 Added new test for the lineinfile module 2014-02-20 13:32:28 -05:00
James Cammarata
2157880029 Adding the backup destination to the resut dictionary for lineinfile 2014-02-20 13:31:54 -05:00
James Cammarata
590be8ac7d Adding headers to test_service and adding tags to prepare_tests role tasks 2014-02-20 13:31:54 -05:00
Michael DeHaan
1b4ba5431b Update makefile, add files for variable blending tests. 2014-02-20 13:25:19 -05:00
Michael DeHaan
1489a13020 Add destructive targets to Makefile. 2014-02-20 13:05:03 -05:00
Michael DeHaan
13076ca8be Remove stray shell script. 2014-02-20 13:04:24 -05:00
Michael DeHaan
69b2d82be6 Convert test system to use Make 2014-02-20 13:00:05 -05:00