Commit Graph

64 Commits

Author SHA1 Message Date
Baiju Muthukadan
cb5e3ea089 Add testrunner boilerplate code to run tests 2012-05-05 19:39:23 +05:30
Marc Abramowitz
607eab025a Fix pip.freeze and add a test for it. 2012-05-02 19:07:21 -07:00
Thomas S Hatch
daa47eab29 make cmd tests use always available shells 2012-04-27 16:13:33 -06:00
Thomas S Hatch
e84d4e1101 Add soem comments to the runner tests 2012-04-21 18:11:24 -06:00
Thomas S Hatch
242d554441 Add initial tests for the salt-run command 2012-04-21 18:04:50 -06:00
Thomas S Hatch
5d75091788 Add run_salt and run_run to ShellCase 2012-04-21 17:52:29 -06:00
Thomas S Hatch
8276c2548b Change name of clicase to shellcase 2012-04-21 17:51:41 -06:00
Thomas S Hatch
7530f39269 Add some more key tests 2012-04-21 17:47:04 -06:00
Thomas S Hatch
98027c3fb6 Add initial salt-key test 2012-04-21 17:31:46 -06:00
Thomas S Hatch
e301fee420 Add shell tests and shellCase to test structure 2012-04-21 17:27:59 -06:00
Thomas S Hatch
4f3fbe0991 remove unused import 2012-04-21 17:02:18 -06:00
Thomas S Hatch
788eeaa313 Initial addition of CLITest interface 2012-04-21 16:58:03 -06:00
Evan Borgstrom
a17dff3a02 When add_host re-ordered hosts it would leave out trailing new lines
This caused problems when adding another host and you'd end up with
entries such as:

```
192.168.1.2\t\thost2\thost2alias192.168.1.1\t\thost1\thost1alias
```

Test updated to reflect.
2012-04-12 23:50:00 -04:00
Thomas S Hatch
f95c8a74e4 Add test for ext_pillar 2012-04-08 21:34:55 -06:00
Thomas S Hatch
24a9d3cea1 Add backend for initial ext_pillar tests 2012-04-08 21:31:08 -06:00
Thomas S Hatch
41a81f85d2 Merge pull request #1063 from fatbox/hosts-duplicate-entries
Ensure hosts.add_host isn't leaving duplicate entries around
2012-04-08 15:18:40 -07:00
Evan Borgstrom
2d66c50d74 Ensure hosts.add_host isn't leaving duplicate entries around
Given a state entry like the following:

```
host-staging-web:
  host:
    - present
    - ip: 10.102.130.100
    - names:
      - staging-web.fqdn.com
      - staging-web
      - alt-staging-hostname
```

You'd end up with three different entries in your hosts file:

```
10.102.130.100		staging-web.fqdn.com
10.102.130.100		staging-web.fqdn.com	staging-web
10.102.130.100		staging-web.fqdn.com	staging-web	alt-staging-hostname
```

This corrects it by removing the previous line before appending the
newly crafted on, and adds tests to prove it.
2012-04-08 14:33:30 -04:00
Thomas S Hatch
b8227350dc finish cp module tests with cp.hash_file 2012-04-04 12:00:52 -06:00
Thomas S Hatch
2178b0162b Add cp.is_cached test 2012-04-04 10:46:01 -06:00
Thomas S Hatch
0402ca6194 Add cp.list_minion test 2012-04-04 10:39:45 -06:00
Thomas S Hatch
9f4b4632db Add cp.list_states test 2012-04-04 10:28:57 -06:00
Thomas S Hatch
0d2519dd31 Add test for cp.cache_local_file 2012-04-04 10:25:02 -06:00
Thomas S Hatch
55e9f01f91 Add cp.cache_master test 2012-04-04 10:13:29 -06:00
Thomas S Hatch
32bf556642 Add test for cp.cache_files 2012-04-04 00:06:41 -06:00
Thomas S Hatch
eef4741c6c Add cache_file test 2012-04-03 23:58:34 -06:00
Thomas S Hatch
f61c821520 Add cp.get_url test 2012-04-03 23:52:56 -06:00
Thomas S Hatch
222fe3cc8f Add cp.get_dir 2012-04-03 23:46:45 -06:00
Thomas S Hatch
18e1d5db6e Add cp.get_template tests 2012-04-03 23:31:53 -06:00
Thomas S Hatch
f1b4e4bda6 Add inital cp module tests 2012-04-03 23:15:37 -06:00
Thomas S Hatch
ae82e606b4 Add files for testing the cp module 2012-04-03 23:14:47 -06:00
Thomas S Hatch
4fe889434f Add cleaning to the integration module 2012-04-03 23:14:26 -06:00
Thomas S Hatch
42ee187943 Add client kwarg tests 2012-04-03 22:30:38 -06:00
Thomas S Hatch
ea7e9d2ff5 move syndic to client tests 2012-04-03 21:59:38 -06:00
Thomas S Hatch
e43f213b8f Add first client api tests 2012-04-03 21:57:41 -06:00
Thomas S Hatch
a00d3cb501 Add tests to cover pillar passing minion grains data in 2012-04-01 21:59:23 -06:00
Thomas S Hatch
62b2166ab4 Add test to verify the kwarg passing from the publish module 2012-04-01 13:29:23 -06:00
Thomas S Hatch
a919def70b don't need to test the syndic coverage like this, save some time 2012-04-01 13:10:37 -06:00
Thomas S Hatch
d00133e343 Add some tests for states 2012-03-29 17:18:32 -06:00
Thomas S Hatch
24bc642508 Add files to file_roots for tests 2012-03-29 16:53:48 -06:00
Thomas S Hatch
2d81528eaa Add file_roots config to tests 2012-03-29 16:51:56 -06:00
Thomas S Hatch
47768c7149 Add pillar module verification 2012-03-29 16:35:49 -06:00
Thomas S Hatch
6dadf88000 Add pillar data to tests 2012-03-29 16:19:19 -06:00
Thomas S Hatch
d1dee6d4e3 remove old master process fix 2012-03-29 15:41:32 -06:00
Thomas S Hatch
d643db9154 remove misconfigured file_roots lines 2012-03-29 09:37:11 -06:00
Thomas S Hatch
53befac5e8 Add a syndic, syndic master and finish synndic tests 2012-03-29 01:03:37 -06:00
Thomas S Hatch
cda5dfbf4d update configs for syndic tests 2012-03-29 01:03:11 -06:00
Thomas S Hatch
fac809f11a add initial files for syndic tests 2012-03-29 01:02:40 -06:00
Thomas S Hatch
9d0f49e2bf Add a SyndicCase for testing syndic functions 2012-03-28 22:25:59 -06:00
Thomas S Hatch
f06ea9335d Update tests to run an extra master and a syndic 2012-03-28 22:14:31 -06:00
Thomas S Hatch
1e63ffc862 Add syndic master config for the test environment 2012-03-28 22:13:34 -06:00