Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unittest fixed and should add more and more to make it perfect :) | makkalot | 2008-05-31 | 1 | -12/+13 |
| | |||||
* | teh unittest for that module | makkalot | 2008-05-31 | 1 | -0/+65 |
| | |||||
* | the unittest for get_method_args it passes the system module test hacky like ↵ | makkalot | 2008-05-27 | 1 | -0/+11 |
| | | | | other members like it we should implement them ... | ||||
* | add a "echo" to the test module | Adrian Likins | 2008-04-16 | 1 | -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 the | Adrian Likins | 2008-04-02 | 1 | -5/+4 |
| | | | | | | configuration dumping patch from Krzysztof A. Adamski <krzysztofa@gmail.com> | ||||
* | add iptables module from Krzysztof A. Adamski <krzysztofa@gmail.com> | Adrian Likins | 2008-03-28 | 1 | -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() still | Adrian Likins | 2008-03-28 | 2 | -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 split | Adrian Likins | 2008-03-18 | 1 | -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 test | Adrian Likins | 2008-02-12 | 1 | -1/+12 |
| | |||||
* | Refactor the minion/server list and group stuff. Still not ideal, but | Adrian Likins | 2008-02-12 | 1 | -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 executes | root | 2008-02-05 | 1 | -1/+0 |
| | | | | We do need to be smarter about this though | ||||
* | use socket.getfqdn instead of gethostname for sanity sake | Adrian Likins | 2008-02-05 | 1 | -1/+2 |
| | |||||
* | we don't really need to see the cp output I suppose | Adrian Likins | 2008-02-04 | 1 | -2/+2 |
| | |||||
* | at the moment, we don't need any func/.* files to build, so change the cp ↵ | Adrian Likins | 2008-02-04 | 1 | -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 Likins | 2008-02-04 | 1 | -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 the | Adrian Likins | 2008-02-04 | 1 | -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 right | Adrian Likins | 2008-02-04 | 1 | -4/+13 |
| | | | | config file in place (or mock object, whatever...) | ||||
* | clean up some paths so hopefully this is more path independent | Adrian Likins | 2008-02-04 | 1 | -4/+4 |
| | |||||
* | fix typos in attr defs so "nosetests -a \!intro" works again | Adrian Likins | 2008-02-04 | 1 | -2/+2 |
| | | | | aka, skipping the introspectivish test cases that get called on every module | ||||
* | add two new methods to poke at everymodule | Adrian Likins | 2008-02-04 | 1 | -1/+21 |
| | | | | | | call "list_methods" also, call "inventory" if it exists | ||||
* | typo on unittest config option | Adrian Likins | 2008-02-04 | 1 | -1/+1 |
| | |||||
* | we don't return xmlrpclib.Faults anymore, so most of the test | Adrian Likins | 2008-02-04 | 1 | -2/+5 |
| | | | | | cases were less than useful. Fix to call func.utils.is_error instead | ||||
* | instead of trying to build the local tree directly, copy | Adrian Likins | 2008-02-04 | 1 | -2/+16 |
| | | | | it to a subdir and run from there | ||||
* | some more path fixes | Adrian Likins | 2008-01-29 | 1 | -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 Likins | 2008-01-29 | 1 | -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 again | Adrian Likins | 2008-01-29 | 1 | -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 crap | Adrian Likins | 2008-01-29 | 2 | -0/+14 |
| | |||||
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Michael DeHaan | 2008-01-29 | 2 | -20/+42 |
|\ | |||||
| * | comment out the async tests at the moment | Adrian Likins | 2008-01-29 | 1 | -20/+20 |
| | | |||||
| * | some simple unittest for groups | Adrian Likins | 2008-01-29 | 1 | -0/+22 |
| | | |||||
* | | All exceptions, async or otherwise, now come back as easily detectable ↵ | Michael DeHaan | 2008-01-29 | 1 | -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 DeHaan | 2008-01-24 | 1 | -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 DeHaan | 2008-01-24 | 1 | -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. | ||||
* | Fixup to client noglobs invocation. | Michael DeHaan | 2008-01-24 | 1 | -4/+4 |
| | |||||
* | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Michael DeHaan | 2008-01-23 | 2 | -16/+28 |
|\ | |||||
| * | some unit tests for the async stuff that aren't quite working | Adrian Likins | 2008-01-23 | 1 | -1/+25 |
| | | |||||
| * | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Adrian Likins | 2008-01-23 | 2 | -1/+5 |
| |\ | | | | | | | | | | | | | | | | Conflicts: func/overlord/client.py | ||||
| * | | restart the services at the end, since leaving them off was kind of | Adrian Likins | 2008-01-23 | 1 | -15/+3 |
| | | | | | | | | | | | | | | | | | | annoying remove some comments | ||||
* | | | Working on async error handling, lots more to do... | Michael DeHaan | 2008-01-23 | 1 | -1/+6 |
| |/ |/| | | | | | (If it hits no exceptions, returns are right, it's the partial error case to deal with next...) | ||||
* | | Double-barrel asynchronous calls. Async can now occur on both sides ↵ | Michael DeHaan | 2008-01-23 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | simultaneously and still appears as if there is only one "global" job id to the API caller, the minion job id's are managed in the background, complete with partial result response as things come in which should be very nice for ajaxy implication. job_status API does still need to be modified to list active jobs as well as to store the job name. | ||||
* | | Merge branch 'master' of ssh://git.fedoraproject.org/git/hosted/func | Michael DeHaan | 2008-01-23 | 1 | -36/+54 |
|\| | | | | | | | | | | | Conflicts: test/unittest/test_client.py | ||||
| * | some unit tests for the sysctl module | Adrian Likins | 2008-01-23 | 1 | -0/+10 |
| | | |||||
| * | removed unneeded print statement | Adrian Likins | 2008-01-18 | 1 | -1/+0 |
| | | |||||
| * | do some refactoring | Adrian Likins | 2008-01-18 | 1 | -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 them | Michael DeHaan | 2008-01-23 | 2 | -2/+3 |
|/ | | | | on the minion for minion side async funness. | ||||
* | add attributes to the automagic introspection tests so we can turn them off | Adrian Likins | 2008-01-17 | 1 | -0/+7 |
| | | | | | | easy if we want, aka nosetests -a \!intro | ||||
* | add methods to BaseTest to also test the introspection methods | Adrian Likins | 2008-01-17 | 1 | -1/+72 |
| | | | | test modules need to set a "module" attr with the module name now. | ||||
* | add tests for process and service modules | Adrian Likins | 2008-01-17 | 1 | -0/+34 |
| | |||||
* | add some test cases for the mount and networktest modules | Adrian Likins | 2008-01-17 | 1 | -0/+33 |
| | |||||
* | more test cases | Adrian Likins | 2008-01-17 | 1 | -6/+63 |
| |