Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add in some support for test coverage. | Adrian Likins | 2008-10-15 | 4 | -0/+585 |
| | | | | | | | | | | | | test/unittest/plugins/*: add a funccover nosetest plugin that can write out code coverage attribution information cover_to_html.py: script to convert coverage information to html output. This isn't integrated into the test scripts yet, but should work for manually ran tests. See plugins/README for more info | ||||
* | add method in test minion module to export it's config | Adrian Likins | 2008-09-16 | 1 | -0/+6 |
| | | | | add a simple unit test case to poke at it | ||||
* | func-transmit now has some ways of handling exceptions raised from the | Adrian Likins | 2008-09-02 | 1 | -2/+3 |
| | | | | | | | | | Overlord() api class. It will catch them, and then marshall them into a dict of {'name':"?", 'error':1, 'message':"?". 'info':{dict of whatever}} It will also exit the process with status 1 instead of 0. Also, some refactoring to make the error handling a little easier. | ||||
* | comment out these tests till we find a more consistent way to tests | Adrian Likins | 2008-09-02 | 1 | -16/+17 |
| | | | | group related things | ||||
* | remove debug spew | Adrian Likins | 2008-08-26 | 1 | -1/+0 |
| | |||||
* | Merge branch 'master' into cmd_run_env | Adrian Likins | 2008-08-26 | 1 | -2/+1 |
|\ | |||||
| * | merge from master async db stuff fixes | makkalot | 2008-08-03 | 1 | -7/+1 |
| |\ | |||||
| * | | add more methods for groups api | makkalot | 2008-07-31 | 1 | -0/+34 |
| | | | |||||
| * | | some beautiful tests for group code :) | makkalot | 2008-07-29 | 1 | -35/+188 |
| | | | |||||
* | | | add support for specifying a set of enviroment variables to run | Adrian Likins | 2008-08-21 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | a command in. also, add a unit test case atm, the env variables specified completely replace the normal enviroment | ||||
* | | | update unit tests | Adrian Likins | 2008-08-18 | 1 | -4/+9 |
| |/ |/| | |||||
* | | some merge error its fix | makkalot | 2008-08-01 | 1 | -5/+0 |
| | | |||||
* | | add more methods for groups api | makkalot | 2008-08-01 | 1 | -0/+34 |
| | | | | | | | | (cherry picked from commit 9bc72b2c3a882e69267f878272df80a7ac35b30e) | ||||
* | | some beautiful tests for group code :) | makkalot | 2008-08-01 | 1 | -35/+188 |
|/ | | | | (cherry picked from commit 4bed3349bb2abd490ca56a4945d7b7fc499bef88) | ||||
* | fix calls of "func '@group1;@group2" foo | Adrian Likins | 2008-07-24 | 1 | -16/+18 |
| | | | | | | | The groups weren't getting seperated correctly (they expected a ':' as the seperator, which is wrong). Uncomment some of the test cases for this that now work. | ||||
* | apply patch from awood@redhat.com thats adds a filter to the ↵ | Adrian Likins | 2008-07-23 | 1 | -0/+18 |
| | | | | | | yumcmd.check_update call also add awood to Authors, and add a few unit tests | ||||
* | update list_minion test to expect just the list | Adrian Likins | 2008-07-18 | 1 | -1/+1 |
| | |||||
* | test_func_transmit.py: refactor the unittests | Adrian Likins | 2008-07-18 | 1 | -32/+173 |
| | | | | | | | | | | add support for testing yaml/json input/output add support for async testing of all tests try `nosetests -a async test_func_transmit.py` to test all the async test try `nosetest -a json test_func_transmit.py` to test all the json tests, etc NOTE: several of these tests fail for json/yaml, not sure what to do about that | ||||
* | func-transmit: handle lists of client globs. Not sure this is the correct | Adrian Likins | 2008-07-16 | 1 | -1/+51 |
| | | | | | | | approach, but it seems to mostly work for now test_func_transmit.py: more test cases for func-transmit | ||||
* | new file, test_func_transmit.py: | Adrian Likins | 2008-07-15 | 2 | -0/+140 |
| | | | | | | | | | unit tests for func-transmit right now, mostly just tests of marshalling data back and forth properly, and some basic calls NOTE: at the moment, it fails alot of these tests test_clients.py: add a couple new tests based on things discovered with test_func_transmit.py | ||||
* | Merge branch 'makkalot_extreme' | Michael DeHaan | 2008-07-08 | 1 | -0/+32 |
|\ | |||||
| * | remove my minion so others may test it | makkalot | 2008-06-30 | 1 | -2/+1 |
| | | |||||
| * | adding tests for sample method that tests the rendering things | makkalot | 2008-06-30 | 1 | -1/+34 |
| | | |||||
* | | add "glob" method to rpm minion module, and add test cases | Adrian Likins | 2008-06-26 | 1 | -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 localhost | makkalot | 2008-06-23 | 1 | -1/+1 |
| | |||||
* | if there is a options keyword in args the others should be there there is no ↵ | makkalot | 2008-06-20 | 1 | -2/+9 |
| | | | | sense | ||||
* | change test for localhost | makkalot | 2008-06-16 | 1 | -2/+2 |
| | |||||
* | forgot to add order keyword to basic allowed types so couldnt pass the tests :) | makkalot | 2008-06-15 | 1 | -0/+1 |
| | |||||
* | adding tests for is_all_arguments_registered part | makkalot | 2008-06-15 | 1 | -1/+28 |
| | |||||
* | change for my minion | makkalot | 2008-06-15 | 1 | -1/+2 |
| | |||||
* | changing test for new one list keyword | makkalot | 2008-06-09 | 1 | -1/+1 |
| | |||||
* | changing get_method_args tests | makkalot | 2008-06-08 | 1 | -7/+32 |
| | |||||
* | fixing import error thanks to alikins :) | makkalot | 2008-06-03 | 1 | -1/+1 |
| | |||||
* | the test tobe from localhost | makkalot | 2008-06-02 | 1 | -2/+1 |
| | |||||
* | some testing commits | makkalot | 2008-06-01 | 1 | -6/+4 |
| | |||||
* | minor changes not so importants | makkalot | 2008-06-01 | 1 | -6/+31 |
| | |||||
* | 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 | ||||
* | 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 | 1 | -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, 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 |
| | |||||
* | 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...) | ||||
* | 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 | ||||
* | 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 |