summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* add "glob" method to rpm minion module, and add test casesAdrian Likins2008-06-261-1/+31
| | | | | | patch from Pradeep Kilambi <pkilambi@redhat.com> (with a small change to handle arch being "None" for gpg-pubkey packages)
* Merge branch 'makkalot_extreme'Michael DeHaan2008-06-232-1/+161
|\
| * make it for localhostmakkalot2008-06-231-1/+1
| |
| * if there is a options keyword in args the others should be there there is no ↵makkalot2008-06-201-2/+9
| | | | | | | | sense
| * change test for localhostmakkalot2008-06-161-2/+2
| |
| * forgot to add order keyword to basic allowed types so couldnt pass the tests :)makkalot2008-06-151-0/+1
| |
| * adding tests for is_all_arguments_registered partmakkalot2008-06-151-1/+28
| |
| * change for my minionmakkalot2008-06-151-1/+2
| |
| * changing test for new one list keywordmakkalot2008-06-091-1/+1
| |
| * changing get_method_args testsmakkalot2008-06-081-7/+32
| |
| * fixing import error thanks to alikins :)makkalot2008-06-031-1/+1
| |
| * the test tobe from localhostmakkalot2008-06-021-2/+1
| |
| * some testing commitsmakkalot2008-06-011-6/+4
| |
| * minor changes not so importantsmakkalot2008-06-011-6/+31
| |
| * unittest fixed and should add more and more to make it perfect :)makkalot2008-05-311-12/+13
| |
| * teh unittest for that modulemakkalot2008-05-311-0/+65
| |
| * the unittest for get_method_args it passes the system module test hacky like ↵makkalot2008-05-271-0/+11
| | | | | | | | other members like it we should implement them ...
* | Merge branch 'kadamski-async2'Michael DeHaan2008-06-101-2/+2
|\ \ | | | | | | | | | | | | | | | Conflicts: func/jobthing.py
| * | Jobthing status codes cleanup.Krzysztof A. Adamski2008-06-061-2/+2
| |/
* / s/certmater/certmasterAdrian Likins2008-06-031-1/+1
|/ | | | at least I didn't typo "cermtaster" again
* add a "echo" to the test moduleAdrian Likins2008-04-161-0/+45
| | | | | write some unit tests that use the "test.echo" module to test some basic marshall/demarshalling code
* fix some paths that moved in the func/certmaster split. Fix a typo in theAdrian Likins2008-04-021-5/+4
| | | | | | configuration dumping patch from Krzysztof A. Adamski <krzysztofa@gmail.com>
* add iptables module from Krzysztof A. Adamski <krzysztofa@gmail.com>Adrian Likins2008-03-281-0/+25
| | | | | | | | | add some basic test cases to the unittests (needs expanded) add file info to setup.py add Makefiles to minion/modules/netapp/* and minion/modules/iptables/* to make make clean work
* Changing func/func/overlord/client.py:Client() to Overlord(). Client() stillAdrian Likins2008-03-282-62/+62
| | | | | | | works but will dive a deprecation warning. First pass at this refactor. I think just about everything has been updated, but some questions remain. Like if client.py needs a name change.
* modified the test-it.sh to work with certmaster/func splitAdrian Likins2008-03-181-22/+49
| | | | | | This assumes that if you aren't doing BUILD_FROM_FRESH_CHECKOUT, that your certmaster/ and func/ dirs are in the same dir, aka, /a/src/certmaster and /a/src/func
* add support for clone the local developers version of the repo to testAdrian Likins2008-02-121-1/+12
|
* Refactor the minion/server list and group stuff. Still not ideal, butAdrian Likins2008-02-121-7/+50
| | | | | | | a touch more OO. Also update unittests/etc. Did some s/servers/minions/ renaming while I was at it as well. Need to go back and finish that up.
* seeing if this resultis 0 is dumb, just see if it executesroot2008-02-051-1/+0
| | | | We do need to be smarter about this though
* use socket.getfqdn instead of gethostname for sanity sakeAdrian Likins2008-02-051-1/+2
|
* we don't really need to see the cp output I supposeAdrian Likins2008-02-041-2/+2
|
* at the moment, we don't need any func/.* files to build, so change the cp ↵Adrian Likins2008-02-041-1/+1
| | | | | | command to ignore them (and in the process, avoiding copying around a big pile of git stuff)
* add in a bit of a kluge to try to make the test-it.sh script a bit more ↵Adrian Likins2008-02-041-1/+16
| | | | | | | robust. Some magic to try to figure out where the script is running from and adjust paths accordiningly
* make TestFileTracker test cases a bit less dependent on the state of theAdrian Likins2008-02-041-4/+6
| | | | | | | filetracker setup make the rpm command test look for some package a bit more likely to be there than "func", for now, "filesystem"
* dont test for the "@blippy" group yet till I setup a way to put the rightAdrian Likins2008-02-041-4/+13
| | | | config file in place (or mock object, whatever...)
* clean up some paths so hopefully this is more path independentAdrian Likins2008-02-041-4/+4
|
* fix typos in attr defs so "nosetests -a \!intro" works againAdrian Likins2008-02-041-2/+2
| | | | aka, skipping the introspectivish test cases that get called on every module
* add two new methods to poke at everymoduleAdrian Likins2008-02-041-1/+21
| | | | | | call "list_methods" also, call "inventory" if it exists
* typo on unittest config optionAdrian Likins2008-02-041-1/+1
|
* we don't return xmlrpclib.Faults anymore, so most of the testAdrian Likins2008-02-041-2/+5
| | | | | cases were less than useful. Fix to call func.utils.is_error instead
* instead of trying to build the local tree directly, copyAdrian Likins2008-02-041-2/+16
| | | | it to a subdir and run from there
* some more path fixesAdrian Likins2008-01-291-0/+5
| | | | | | | still need a bit more automagic to make it do the right thing when invoke from different places for now, just invoke it directly from test/
* add an optional config file "test-it.conf"Adrian Likins2008-01-291-23/+31
| | | | | | make running the unittests optional remove "pound_on_threads" stuff cause it was stupid and slow
* make testing from a src checkout work againAdrian Likins2008-01-291-11/+33
| | | | | default to building from local checkout, and "make install" instead of using an rpm
* add Makefiles so "make clean" cleans up all the crapAdrian Likins2008-01-292-0/+14
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-292-20/+42
|\
| * comment out the async tests at the momentAdrian Likins2008-01-291-20/+20
| |
| * some simple unittest for groupsAdrian Likins2008-01-291-0/+22
| |
* | All exceptions, async or otherwise, now come back as easily detectable ↵Michael DeHaan2008-01-291-0/+2
|/ | | | | | | signatures. Use utils.is_error(result) to determine if something is an error or isn't. Example scripts as well as func-inventory have been updated. See async_test.py for examples.
* Fixed async_test.py for all success/failure cases. Still need to tweak the ↵Michael DeHaan2008-01-241-2/+2
| | | | | | | code so that failure information for remote commands can be obtained (i.e. detals of the exceptions) without reading the remote logs. Async is weird because the information can't come back in faults (well, it can, but we don't want it to).
* Still working on async (pardon the debug output still), there's a long ways ↵Michael DeHaan2008-01-241-13/+34
| | | | | | | to go with the partial status reporting but it is getting better at actually doing the task, just a few kinks to work out in getting results reported correctly.