Pedro Algarvio
0ae1a15c61
PEP8 E302 and E303 blank lines fixes.
2013-11-27 12:11:45 +00:00
Pedro Algarvio
d02a2bc224
Include the python encoding file header on tests.
2013-11-27 11:19:24 +00:00
Henrik Holmboe
043f9bf85a
Fix typos
2013-11-07 10:06:37 +01:00
Pedro Algarvio
ec0a4bca8e
URL environment selection should also be using saltenv
.
2013-11-06 23:36:40 +00:00
Pedro Algarvio
b82a051aef
Correctly trigger the issue reported on #8196 .
2013-11-06 22:49:29 +00:00
Pedro Algarvio
3477300d7f
Add a test case to check for proper env selection when passing ?env=foo
. Refs #8196 .
2013-11-06 22:47:55 +00:00
Pedro Algarvio
ec76b188b1
Correctly trigger the issue reported on #8196 .
2013-11-06 20:03:44 +00:00
Pedro Algarvio
2924f1c14a
Add a test case to check for proper env selection when passing ?env=foo
. Refs #8196 .
2013-11-06 20:03:44 +00:00
Pedro Algarvio
de4345cf20
Updated integration.modules.cp
test suite to use salttesting.helpers.ensure_in_syspath()
2013-06-28 00:12:59 +01:00
Pedro Algarvio
be54a503d9
Adapted code fix sys.path
in case called from __main__
. Adapted to salt-testing.
2013-06-28 00:12:56 +01:00
Pedro Algarvio
c5fe83272f
Even more open()
to salt.utils.fopen()
.
2012-11-18 18:57:10 +00:00
Ryan Schneider
2ccf589425
Refactor: make_dirs -> makedirs, gzip_compression -> gzip
2012-11-14 18:06:53 -08:00
Ryan Schneider
ad1a43012a
Add gzip and template to cp.get_dir, expose make_dirs on cp.get_file
2012-11-14 16:48:26 -08:00
Pedro Algarvio
97b4dffd85
Re-add required import.
2012-11-14 16:03:46 +00:00
Ryan Schneider
c638617612
Add gzip_compression support to cp.get_file
2012-11-08 16:09:38 -08:00
Ryan Schneider
721bce0a11
Fixed integration test
2012-11-06 19:36:51 -08:00
Ryan Schneider
49fb321254
Add integration test
2012-11-06 19:36:51 -08:00
Roman Imankulov
bb0ed1a3a7
Tests cleanup
...
Defined "integration.run_tests()" function which can be used to execute
a particular integration test case. Existing bolerplate code in modules
and states tests is replaced with following lines:
if __name__ == '__main__':
from integration import run_tests
run_tests(TestCaseName)
Typical usecase could look like this:
python integration/modules/pip.py --no-clean -vv
2012-07-20 12:25:08 +06:00
Baiju Muthukadan
24bb4ea4e0
Fix PEP8 warnings for test cases
2012-05-29 22:10:20 +05:30
Baiju Muthukadan
cb5e3ea089
Add testrunner boilerplate code to run tests
2012-05-05 19:39:23 +05:30
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