summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* - Fixing bug that didn't allow lowercase MAC input, now upcasing itMichael DeHaan2006-09-131-1/+1
|
* Added templating support through new --ks_meta option which works like ↵Michael DeHaan2006-07-121-2/+2
| | | | --kopts. The parameter is a space delimited list of key=value pairs, which allows the variables entered to be evaluated through Cheetah. Thus kickstarts are now Cheetah templates. All templating errors are ignored so usage of a $ in a template is still legal where it doesn't reference a variable. Error ignoring should be finer grained and this does need some tests. Currently this only works for kickstarts on filesystems, and I'm not sure what the behavior for http and nfs should be. Anyhow, fairly useful stuff.
* Remove api_call indirection and exception handling layer since tests had ↵Michael DeHaan2006-05-121-1/+1
| | | | already been modified to use failUnlessRaises.
* Make unit tests use cobbler.py instead of the /usr/bin wrapper scriptMichael DeHaan2006-05-121-1/+1
|
* Added licensing and RH copyright. Pychecker (once again). Fixed one unit ↵Michael DeHaan2006-05-111-3/+1
| | | | test where I changed a command line syntax.
* Tests don't need root either.Michael DeHaan2006-05-091-3/+0
|
* Simplified the command line, made a better 'list' function, some string and ↵Michael DeHaan2006-05-091-10/+7
| | | | | | exception cleanup.
* Adding exception handling to remove the problem of propogating error codes ↵Michael DeHaan2006-05-081-26/+30
| | | | all the way up the stack. Still not quite super-consistant, but getting there. Util functions still return true/false since they just ask questions, but API functions will throw errors to ensure they are being dealt with. Main CLI class needs to take advantage of this fact and become simpler. Tests are already modified to detect new exceptions with one exception :)
* Re-enable tmpdir test. GC/circular ref issues resolved.Michael DeHaan2006-05-081-3/+3
|
* Interim commit during refactoring. Pretty broken as a result of some ↵Michael DeHaan2006-05-051-5/+8
| | | | cleanup but it will get straightened out very soon. The main thing I'm doing here is to remove backreferences from the object tree and make the API simpler, so that folks using the API screw up less. This means making the CLI code simpler as well. The serializer has also been overhauled so it's not as much bolted on, although I have some fixing to do to make it work entirely correctly. Wanted to check all of this in case someone decided to patch something else, making diffing really complex in the interim. I'd recommend not patching anything else to this code as I'm not close to done, really.
* Interim commitMichael DeHaan2006-05-051-23/+23
|
* Interim refactoring commitMichael DeHaan2006-05-051-36/+36
|
* Weakref additions prior to refactoringMichael DeHaan2006-05-051-2/+1
|
* Added __init__.py to testsMichael DeHaan2006-05-051-0/+0
|
* Make /etc/cobbler.conf be packaged instead of being created, proper handling ↵Michael DeHaan2006-05-051-8/+6
| | | | of parse errors on config files, tweaking unit tests tempfile stuff since sync() test is currently broken by the tempfile changes (why??)
* Test case runs from a clean dir nowMihai Ibanescu2006-05-041-18/+35
| | | | We create temp dirs and we remove them when we're done.
* Merged Michael's changes with mineMihai Ibanescu2006-05-041-30/+10
|
* Misc cobbler cleanup. Switched to the new yaml parser (it's uglier,Michael DeHaan2006-05-031-14/+47
| | | | | need to do something about that). Added some tests. Modified test code so it never clobbers a working install.
* Packaging for cobblerMichael DeHaan2006-05-031-0/+270