Commit graph

44 commits

Author SHA1 Message Date
Nico Schottelius
4758daa037 move types into conf/ dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-21 16:38:50 +02:00
Nico Schottelius
b1d661f4c0 merge ResolverTestCase and AutorequireTestCase into ExecutionOrderTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:30:20 +02:00
Nico Schottelius
c5c5e7b89b remove requirement-finder tests - no need to test assignments and no wildcard support anymore
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-20 11:17:30 +02:00
Nico Schottelius
68d4bcbcb4 begin to fix syntax errors of merge
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-06-03 15:05:43 +02:00
Nico Schottelius
3d73cd2fd3 better debugging for wrong type, fix emulator tests, fixes #176
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-27 16:36:20 +02:00
Nico Schottelius
ae8040536f mere tests of autorequire and resolver into execution_order
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
2013-05-15 09:26:48 +02:00
Nico Schottelius
44a0f5d7bb restore resolver test
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2013-02-22 11:13:44 +01:00
Steven Armstrong
06fb7491fa prevent requirements from leaking into autorequired objects and creating circular references
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>

Conflicts:
	cdist/test/autorequire/__init__.py
2013-02-14 15:23:04 +01:00
Nico Schottelius
e03f5d08dd move / correct tests in object and config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 21:14:23 +01:00
Nico Schottelius
ef45cd5ce0 fix removal of context alias in config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 21:14:07 +01:00
Nico Schottelius
2732a4ba5c finally finish the dynamic resolver
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 21:10:18 +01:00
Nico Schottelius
527ec0889b remove unneeded fixtures
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 20:53:38 +01:00
Nico Schottelius
eb93d1bebd begin tests for config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-19 15:33:50 +01:00
Nico Schottelius
8031c77700 fix some tests, break some others :-)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-18 18:21:51 +01:00
Nico Schottelius
958d2d336f various cleanups
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-18 17:16:26 +01:00
Nico Schottelius
442dc767dd merge resolver test into object test - because object requirement solving is implemented
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-12-16 12:55:36 +01:00
Steven Armstrong
56b6c95ed4 implement conf-dir from CDIST_PATH environment variable
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-11-30 16:46:17 +01:00
Nico Schottelius
2fe647a1f7 Revert "implement before/after to declare dependencies and deprecate require"
Comment from asteven:
    Some problems showed up while updating the docs and tests.
    You should revert the merge for now.

This reverts commit 84770b9ef2.
2012-11-19 15:17:46 +01:00
Steven Armstrong
84770b9ef2 implement before/after to declare dependencies and deprecate require
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>

--whitespace

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2012-11-19 12:29:49 +01:00
Nico Schottelius
1bb3c82d72 cleanup some logging stuff
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-07 11:47:26 +01:00
Nico Schottelius
7d57d1df79 update emulator tests to work again
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-07 11:05:40 +01:00
Nico Schottelius
4dd0f61934 --whitespace
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-07 10:51:13 +01:00
Nico Schottelius
217d2bcb23 Fix test: StdinTestCase
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-07 10:49:51 +01:00
Nico Schottelius
9cf80f5fdf make use of env provided by manifest
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 22:39:25 +01:00
Nico Schottelius
28bf0c3ed8 setup target_host for tests in test main class
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 21:52:11 +01:00
Nico Schottelius
866f23ea2c inject conf_dir for emulator test
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 21:32:54 +01:00
Nico Schottelius
c47d0fae1c fix autorequire test case and fix cdist_base_path test assignment
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 17:28:26 +01:00
Nico Schottelius
bb1a8d8e66 fixup manifest tests
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 17:01:20 +01:00
Nico Schottelius
04bd5d88c3 Fix tests for code
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 16:58:30 +01:00
Nico Schottelius
4a67d768d5 fix all explorer test cases
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-06 16:47:51 +01:00
Nico Schottelius
90fad0fe83 create remote base in test - needed?
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-02 14:15:14 +01:00
Nico Schottelius
184e2bd9c5 add new remote that does local calls
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 18:25:29 +01:00
Nico Schottelius
09fd809032 add new remote handler which turns remote into local ;-)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 18:22:52 +01:00
Nico Schottelius
5ec586f764 begin to cleanup explorer test case
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 18:21:56 +01:00
Nico Schottelius
528901bdee update a lot of tests for new exec.local
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 15:20:10 +01:00
Nico Schottelius
69a3844332 fix some tests and fix home_dir lookup
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 14:48:51 +01:00
Nico Schottelius
1177286d4e cleanups of tests (especially exec.local)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 14:42:55 +01:00
Nico Schottelius
32a94a0f89 adjust emulator test to pass exec_path to local
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-11-01 13:35:52 +01:00
Nico Schottelius
4946fe2654 adjust paths in test 2012-11-01 13:34:48 +01:00
Nico Schottelius
63573a9797 make package_data work
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-29 22:50:27 +01:00
Nico Schottelius
85fcfb1744 correct __file link again
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 23:48:56 +02:00
Nico Schottelius
91c1374657 begin restructering for python package
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 23:37:15 +02:00
Nico Schottelius
392ec3c5ed correct link to __file
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 17:46:19 +02:00
Nico Schottelius
c9f728e073 lib/cdist => cdist (pypi)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
2012-10-25 17:21:58 +02:00