Commit graph

2225 commits

Author SHA1 Message Date
Nico Schottelius
7823d0c997 merge context back into config (it is in fact the same idea)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-10 11:31:37 +02:00
Steven Armstrong
6de7bd3377 test for Object ran
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 10:06:41 +02:00
Steven Armstrong
7855a485b6 test for Object prepared
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 10:05:46 +02:00
Steven Armstrong
f2701cb512 test for Object changed
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 10:04:36 +02:00
Steven Armstrong
86f976976e bugfix: use absolute path when accessing file system
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 10:01:28 +02:00
Steven Armstrong
b1efc27b39 test for Object requirements
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 10:00:42 +02:00
Steven Armstrong
0ba6d55191 raise exception when given a relative path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:57:56 +02:00
Steven Armstrong
96ca5b6988 bugfix: use absolute path to when accessing file sytem (unittest discoverd :-)
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:48:19 +02:00
Steven Armstrong
abf318ae90 test and fixtures for Object parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:47:06 +02:00
Steven Armstrong
88a1e34f30 test for Object object_id
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:44:29 +02:00
Steven Armstrong
8384176080 test Object explorer_path
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:36:48 +02:00
Steven Armstrong
f3b942e591 test for Object paths
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:34:16 +02:00
Steven Armstrong
7c12027311 test and fixtures for Object class/static methods
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:30:28 +02:00
Steven Armstrong
e27cd9e809 when comparing objects, define equality as 'attributes are the same'
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-10 09:23:27 +02:00
Steven Armstrong
0f413f8e4d Merge remote-tracking branch 'telmich/master' 2011-10-10 08:58:31 +02:00
Nico Schottelius
48a9309522 indent/+FIXME
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-09 12:50:47 +02:00
Nico Schottelius
790deb4645 in theory finish the install command
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-09 12:49:57 +02:00
Steven Armstrong
c9159b15f1 use package, no need for another file
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-09 07:41:53 +02:00
Nico Schottelius
93a312702c ++todo(nico)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-08 12:06:45 +02:00
Nico Schottelius
56e1fc9eb8 type explorer should run with remote base as well :-)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-08 12:01:53 +02:00
Nico Schottelius
ea146c88e7 cleanup config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-08 11:59:26 +02:00
Nico Schottelius
e10ebeadf8 BUGFIX: export global explorer with path from remote
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-08 03:24:05 +02:00
Nico Schottelius
d190b192de update timing method
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-08 03:22:19 +02:00
Steven Armstrong
f46344effe test and fixtures for Type.list_*
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 22:51:06 +02:00
Steven Armstrong
5d59102018 test only one instance of same type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 22:50:11 +02:00
Steven Armstrong
73bdb7f11f test and fixtures for Type members (name, path, ...)
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 22:49:09 +02:00
Steven Armstrong
d3e1276965 remove duplicate code
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 22:39:45 +02:00
Steven Armstrong
8d3cad1815 test and fixtures for Type.{required,optional}_parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 22:32:55 +02:00
Steven Armstrong
0f9d71423a Merge remote-tracking branch 'telmich/master' 2011-10-07 18:48:18 +02:00
Steven Armstrong
b7c88b03d3 removed unused code/imports
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 18:29:24 +02:00
Steven Armstrong
8e0501aaa9 tests and fixtures for Type.explorers
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 18:28:22 +02:00
Steven Armstrong
52f9388f07 tests and fixtures for Type.is_install
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 18:22:38 +02:00
Nico Schottelius
1cb86cb66b Merge branch 'master' of git://github.com/asteven/cdist 2011-10-07 18:18:21 +02:00
Nico Schottelius
71ed728b4a move parallel code to main binary, allow branching out on install and config
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 18:14:17 +02:00
Nico Schottelius
11a8379c75 +comment
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 18:13:58 +02:00
Nico Schottelius
d21126189c indent/cleanup
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 18:04:13 +02:00
Steven Armstrong
f515e20572 start unittests for Type
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 17:52:38 +02:00
Steven Armstrong
129e47d0c1 Merge remote-tracking branch 'telmich/master' 2011-10-07 17:51:25 +02:00
Steven Armstrong
ae15779c81 -- DeprecationWarning: object.__new__() takes no parameters
Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
2011-10-07 17:50:53 +02:00
Nico Schottelius
71af3b60c0 move test todos to own file
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:48:36 +02:00
Nico Schottelius
f2869161ed ++todo(steven)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:45:39 +02:00
Nico Schottelius
d3f0965ace make t less verbose
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:39:04 +02:00
Nico Schottelius
e985c0d697 remove sys.exit from banner
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:38:50 +02:00
Nico Schottelius
cabb5b9ab0 100% test coverage for the banner (feels good, doesn't it?)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:38:10 +02:00
Nico Schottelius
be78955cc6 move banner into cdist module
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:18:39 +02:00
Nico Schottelius
9b0c0be556 ++todo(nico)
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:13:01 +02:00
Nico Schottelius
63c9a91bca +whitespace save out only
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:12:06 +02:00
Nico Schottelius
c0561958d0 todo(steven) == changed
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:10:10 +02:00
Nico Schottelius
d32aa37fba cleanup context
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:07:31 +02:00
Nico Schottelius
073717e07e some more relative to absolute path changes
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-10-07 17:07:10 +02:00