summaryrefslogtreecommitdiffstats
path: root/test/unittest
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)
* 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 ...
* 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
* 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-281-52/+52
| | | | | | | 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.
* 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
|
* 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...)
* 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
* 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
* add Makefiles so "make clean" cleans up all the crapAdrian Likins2008-01-291-0/+7
|
* comment out the async tests at the momentAdrian Likins2008-01-291-20/+20
|
* some simple unittest for groupsAdrian Likins2008-01-291-0/+22
|
* some unit tests for the async stuff that aren't quite workingAdrian Likins2008-01-231-1/+25
|
* Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/funcMichael DeHaan2008-01-231-36/+54
|\ | | | | | | | | | | Conflicts: test/unittest/test_client.py
| * some unit tests for the sysctl moduleAdrian Likins2008-01-231-0/+10
| |
| * removed unneeded print statementAdrian Likins2008-01-181-1/+0
| |
| * do some refactoringAdrian Likins2008-01-181-35/+44
| | | | | | | | talk to localhost by default instead of "grimlock.devel.redhat.com"
* | Moving the async and multiprocess stuff to top level so we can use themMichael DeHaan2008-01-231-1/+2
|/ | | | on the minion for minion side async funness.
* add attributes to the automagic introspection tests so we can turn them offAdrian Likins2008-01-171-0/+7
| | | | | | easy if we want, aka nosetests -a \!intro
* add methods to BaseTest to also test the introspection methodsAdrian Likins2008-01-171-1/+72
| | | | test modules need to set a "module" attr with the module name now.
* add tests for process and service modulesAdrian Likins2008-01-171-0/+34
|
* add some test cases for the mount and networktest modulesAdrian Likins2008-01-171-0/+33
|
* more test casesAdrian Likins2008-01-171-6/+63
|
* a start at some unittest modules.Adrian Likins2008-01-161-0/+65
This expects the "python-nose" package to be installed. To test, run "nosetests" in the unittest subdir