Darko Poljak
|
1dfd6671e7
|
Fix #416: error for non-posix remote shell. Fix remote.py test errors.
|
9 years ago |
Nico Schottelius
|
b0321895a7
|
fix all tests
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
|
10 years ago |
Nico Schottelius
|
b51e9daccc
|
fix all tests besides one
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
|
10 years ago |
Nico Schottelius
|
d08c29b581
|
fix most test cases broken by no-dot-cdist change
Signed-off-by: Nico Schottelius <nico@freiheit.schottelius.org>
|
10 years ago |
Antoine Catton
|
9717d5d928
|
Add test case: what if there's a directory in defaults
The goal of the directory name is to be before foo and bar
|
10 years ago |
Steven Armstrong
|
f82a6224f2
|
use positional arguments in favour of keyword arguments for backwards compatibility with older python
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Steven Armstrong
|
46459053f4
|
use posix -L in favour of longopts
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Daniel Heule
|
6a5f908269
|
yep, dryrun option has now a unittest, was hard to work out ...
|
11 years ago |
Daniel Heule
|
e29255b9f2
|
add an unittest for CDIST_ORDER_DEPENDENCY
|
11 years ago |
Daniel Heule
|
a5426ff4b5
|
completed copyright infos ...
|
11 years ago |
Daniel Heule
|
2dd2f5593f
|
bugfixes for issue 161 and FIXME: also check that there is no object ID
when type is singleton?
|
11 years ago |
Daniel Heule
|
60c53e213c
|
testcases emulator.OverrideTestCase, with some minor bugfixes to make
test work as expected ...
|
11 years ago |
Daniel Heule
|
f163b32720
|
first try of a test
|
11 years ago |
Daniel Heule
|
717e21da6c
|
initial update for override unittests
|
11 years ago |
Steven Armstrong
|
54815e2b29
|
implement cdist install
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
11 years ago |
Nico Schottelius
|
a5fc3f5002
|
remove changed attribute of an object - was never used and will never be used
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ac5fa7cd64
|
integrate messaging into cdist
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Steven Armstrong
|
5cc894e1e9
|
only use a single space to distinguish between the actual __target_host and the same used as part of the path; fixes #206
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Steven Armstrong
|
472198419a
|
don't assume first argument to be -r, fixes #200
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
98cdc6c139
|
fix tests so that the explorers are not changed while running tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
33559fad67
|
add comments to some tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Steven Armstrong
|
1927d4852a
|
add tests for configurable default values for parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Steven Armstrong
|
3de9b869ac
|
there is no such thing as cdist install in master
remove all traces of it to prevent the ongoing merge issues when using the real thing
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
2286acc6f2
|
fix some more tests for the next release
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
136ddc05b5
|
context based changes
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
18c5e60ab1
|
--context in tests
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
975b93c20a
|
fix all tests -> back to normal
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b527479620
|
refactor out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
2f5de23ae9
|
out_path -> base_path
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8298bb0bf5
|
fix test cdist.test.config_install.ConfigInstallRunTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
c1441fc676
|
enhance singleton testing
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8ab760ad90
|
document unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Steven Armstrong
|
7205cd5ecf
|
remove that crappy old singleton object_id thingy
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
|
12 years ago |
Nico Schottelius
|
25bdcb1602
|
cleanup tests and ... - 100% green
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ef24ec4db8
|
port test_missing_requirements to config_install unit test
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
e1d8645415
|
fix unit tests for config_install
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
4758daa037
|
move types into conf/ dir
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
b1d661f4c0
|
merge ResolverTestCase and AutorequireTestCase into ExecutionOrderTestCase
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
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>
|
12 years ago |
Nico Schottelius
|
68d4bcbcb4
|
begin to fix syntax errors of merge
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
3d73cd2fd3
|
better debugging for wrong type, fix emulator tests, fixes #176
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ae8040536f
|
mere tests of autorequire and resolver into execution_order
Signed-off-by: Nico Schottelius <nico@bento.schottelius.org>
|
12 years ago |
Nico Schottelius
|
44a0f5d7bb
|
restore resolver test
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
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
|
12 years ago |
Nico Schottelius
|
e03f5d08dd
|
move / correct tests in object and config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
ef45cd5ce0
|
fix removal of context alias in config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
2732a4ba5c
|
finally finish the dynamic resolver
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
527ec0889b
|
remove unneeded fixtures
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
eb93d1bebd
|
begin tests for config_install
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |
Nico Schottelius
|
8031c77700
|
fix some tests, break some others :-)
Signed-off-by: Nico Schottelius <nico@brief.schottelius.org>
|
12 years ago |