Commit graph

82 commits

Author SHA1 Message Date
Steven Armstrong
e715dbb801 update test: dont return command output by default
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 15:50:10 +02:00
Steven Armstrong
9640c3a098 test for illegal object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 11:21:12 +02:00
Steven Armstrong
8e224b43c3 fix imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 09:05:22 +02:00
Steven Armstrong
f6adefddec test for Object object_from_name
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 09:03:18 +02:00
Steven Armstrong
f4b1252063 add test for Type base_path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 08:58:34 +02:00
Steven Armstrong
be02dc5ff1 create object directory befor accessing it
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-14 00:35:23 +02:00
Steven Armstrong
1b7ebc5885 more tests for different ways to access object.explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 21:23:04 +02:00
Steven Armstrong
7abb338381 bugfix test case
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 17:11:03 +02:00
Steven Armstrong
4f7d75e604 remove/fix copy paste stuff
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 16:27:07 +02:00
Steven Armstrong
7bc68476a1 test for run_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 15:09:05 +02:00
Steven Armstrong
12e5b3e8dc test for run_code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 15:00:07 +02:00
Steven Armstrong
5055afe0c0 test for test_transfer_code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 14:57:09 +02:00
Steven Armstrong
01ab81a446 -- duplicate code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 14:50:50 +02:00
Steven Armstrong
df57b5188b tests for code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 14:26:36 +02:00
Steven Armstrong
6f7528c411 test for code_remote
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:42:45 +02:00
Steven Armstrong
8e55e74bc2 test for code_local
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:40:20 +02:00
Steven Armstrong
fb4d20e7e8 test for test_list_type_explorer_names
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:33:24 +02:00
Steven Armstrong
f02bdf3e61 test for test_list_global_explorer_names
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:30:41 +02:00
Steven Armstrong
ac79ec101f +consistency
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:22:52 +02:00
Steven Armstrong
f1fdf0f13c add assertion for test_run_global_explorer
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:21:15 +02:00
Steven Armstrong
f846fdd961 add assertion for test_transfer_global_explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:20:07 +02:00
Steven Armstrong
2eb37367a1 add assertion for test_transfer_type_explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:18:34 +02:00
Steven Armstrong
910de0579c add assertion for test_transfer_object_parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:17:22 +02:00
Steven Armstrong
dc6218c3e1 initial test for test_transfer_object_parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 13:14:46 +02:00
Steven Armstrong
63eee391e0 implement Explorer analog to Manifest + tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 01:25:31 +02:00
Steven Armstrong
0b1d7d01e0 Merge remote-tracking branch 'telmich/master' 2011-10-13 01:19:25 +02:00
Nico Schottelius
62383eed8d ++stuff
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
2011-10-13 03:00:57 +02:00
Steven Armstrong
a8ec91c804 -e /type_base_path/type_path/ -e /object_base_path/object_path/
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 00:35:14 +02:00
Steven Armstrong
48eb996a2e remove useless filename prefix
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 00:26:11 +02:00
Steven Armstrong
5d2827f66e tests for Remote paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 00:24:52 +02:00
Steven Armstrong
67de9d8c73 tests for Local paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-13 00:20:55 +02:00
Nico Schottelius
8d591b45e2 add type to test whether object parameter can be read
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
2011-10-12 23:49:17 +02:00
Nico Schottelius
d9af865523 fixture type with one explorer
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
2011-10-12 23:12:56 +02:00
Nico Schottelius
f2278c42ab init tests for type_explorer
Signed-off-by: Nico Schottelius <nico@loch.schottelius.org>
2011-10-12 23:10:18 +02:00
Steven Armstrong
fb80a95555 --debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 17:58:09 +02:00
Steven Armstrong
1c38fb492e fixtures for type manifest environment test
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 17:57:06 +02:00
Steven Armstrong
9a33bd3b90 test type manifest environment
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 17:56:45 +02:00
Steven Armstrong
5df8479c5a implement Manifest and tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 17:20:47 +02:00
Steven Armstrong
a254e1f31e return output of command execution as string instead of bytestring
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 17:12:22 +02:00
Steven Armstrong
78fd611bb0 fix cdist_base_path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 16:56:16 +02:00
Steven Armstrong
117ccf94d3 --debug
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 16:13:22 +02:00
Steven Armstrong
985ed2669a local code execution and tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 15:17:06 +02:00
Steven Armstrong
7da3a3c305 remote code execution and tests
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-12 14:30:10 +02:00
Steven Armstrong
8543f3ed58 rename to match others
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-11 16:41:44 +02:00
Steven Armstrong
1c73fb1288 -- unused imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-11 16:41:01 +02:00
Steven Armstrong
b3c0a5912f Merge remote-tracking branch 'telmich/master' 2011-10-11 16:32:11 +02:00
Steven Armstrong
8ef0c18da0 update test suite to match new code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-11 16:31:43 +02:00
Nico Schottelius
d690fb30cb add base path and exec path to test main
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-11 16:26:33 +02:00
Steven Armstrong
d03f23129b test and fixtures for Object explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-11 15:45:10 +02:00
Steven Armstrong
45ff8f727f tests for Object source as list
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-11 14:22:29 +02:00