summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Switch to PyYAML for yaml processing.Michael DeHaan2009-02-261-1/+1
| | | | | | Conflicts: cobbler.spec
* various rearranging; test code uses new port, logging fixes (sort of)root2009-01-231-1/+1
|
* More work on teaching cobblerd to not reload itself, in progress, some ↵Michael DeHaan2009-01-211-1/+1
| | | | | | web/XMLRPC functions may have some slight glitches but I'm working on it.
* Update performance test codeMichael DeHaan2008-11-061-3/+2
|
* A couple of things, the removal of the server.update() code wasn't good for ↵Michael DeHaan2008-11-061-22/+18
| | | | performance, so we are (for now) putting it back. More importantly this set of codechanges goes through the unit tests we already had and makes sure they use top level API calls. While this may look trivial, it's not -- the top level calls ensure data is saved and read from disk as in the full application, so they are more exhaustive. As of this commit, all tests as committed pass.
* Moved the older test code under the main tree so it gets installed with the ↵Michael DeHaan2008-10-172-865/+0
| | | | RPM. Beginings of adding testcases for XMLRPC that will exercise read only and read-write XMLRPC through Apache. Right now, there is only some basic read-only testing to verify koan's calls remain operational. We'll also want to write tests for the mod_python components.
* Fix snippet for download_config_files, misc testing changesMichael DeHaan2008-10-151-6/+11
|
* Call unittests with noseMichael DeHaan2008-10-151-0/+6
|
* Updates on the acl feature. (policy acls for webui/xmlrpc, not to be ↵Michael DeHaan2008-09-021-23/+27
| | | | | | confused with existing setfacl features)
* Add images to basic unit tests to ensure they do not break any generalized ↵Michael DeHaan2008-08-081-0/+7
| | | | systems/profile logic. One small fix to profiles to deal with this.
* Added serializer_catalog as a new serializer module, which will be the new ↵Michael DeHaan2008-08-011-1/+1
| | | | default for modules.conf. Existing serializer_yaml users can upgrade simply by changing the setting and running a cobbler command like "cobbler report". This serializer is much faster and stores files to .d directories such as /var/lib/cobbler/systems.d and /var/lib/cobbler/distros.d.
* Remove references to manage_dhcp_mode and manage_dns_mode as this is ↵Michael DeHaan2008-06-251-2/+9
| | | | governed by modules.conf, and rewrite the restart-services trigger to understand restart_dhcp and restart_dns variables, which are now mentioned in the settings file. Also, clean up the tests so they work more nicely on F9, and remove some unused lines from the Makefile.
* Adjusting the dhcp patch some, prior to moving it all into modules/Michael DeHaan2008-05-021-2/+2
|
* Fix some things found by the tests and also update the testsMichael DeHaan2008-04-181-2/+2
| | | | to not look for static files
* Two things -- (A) remove rhpl dep as we aren't using it and we want to useMichael DeHaan2008-04-091-9/+9
| | | | | more standard xlat for other distros potentially, (B) fix the kerb module some more.
* Working on adding checks for duplicate names/ips/macs to cobblerroot2008-04-041-0/+125
|
* Fix default ownership on cobbler owned objects to come from the settingsMichael DeHaan2008-04-031-1/+11
| | | | | file (who's default is "admin" through the CLI) ... the webui will prepopulate the field with the name of the logged in user.
* Added some code to allow assignment of default ownership from settings for newMichael DeHaan2008-04-021-2/+2
| | | | objects. Also, ownership field for new objects in the WebUI is prepopulated with the username of the logged in user, to prevent accidental lockouts. All of this is untested at this point -- will be polished up soon.
* Implementated authorization logic around shared kickstart templates.Michael DeHaan2008-04-021-2/+29
|
* Now that authz_ownership works, remove debug code to make it easier to read.Michael DeHaan2008-03-271-17/+17
| | | | | Also enable code in test scripts to prevent clobbering a users "users.conf" file when running unit tests.
* Fixes to authz_ownership module, tests pass now.Michael DeHaan2008-03-271-5/+5
|
* Adding ownership module + tests and associated changes to cobblerd to make itMichael DeHaan2008-03-271-30/+79
| | | | | work a little better. This module is not fully tested yet, so don't use it yet in production.
* Add a --owner to all the objects, plus associated API calls and backend ↵Michael DeHaan2008-03-261-0/+35
| | | | | | | | stuff, for use with the (pending real soon now) authz_ownership module. Also updated docs. Incidentally, self.settings.tftpboot is now utils.tftpboot_location() -- which is required because tftpboot moves around. Previously this was masked to still look like a settings variable but I decided to remove the hack. All code using that location has been updated appropriately.
* Merge branch 'devel'Michael DeHaan2008-02-152-9/+86
|\ | | | | | | | | | | | | | | | | | | | | | | | | Merging devel work on 0.7.X/0.8 release with master Conflicts: CHANGELOG cobbler.spec cobbler/action_import.py cobbler/utils.py cobbler/webui/master.py setup.py
| * Added additional needed args to higher level API methods, also made higher ↵Michael DeHaan2008-02-131-9/+11
| | | | | | | | | | | | level API function for find variants.
| * Performance tweaking and benchmarks.Michael DeHaan2007-12-121-0/+75
| |
* | (a) modify tests to be tolerant of existing directory, (b) modify input ↵Michael DeHaan2007-11-151-1/+4
|/ | | | | | engine to know that <<inherit>> is never going to be a string key, so be sure to not include it in things like kickstart arguments.
* (A) add/tweak testcase for blender cache code, (B) modify htaccess file to ↵Michael DeHaan2007-11-141-2/+54
| | | | | | only authenticate the webui, not the other cgi's.
* In the process of making all repositories templates so we can apply the ↵Michael DeHaan2007-11-021-4/+19
| | | | | | | values of --server-override to them and make cobbler servers easier to migrate also. This will result in the removal of --local-filename from cobbler repos.
* Make pagination uses a shiny select box versus an ugly list of pages. TODO: ↵root2007-11-011-1/+1
| | | | | | show the start and end object in the menus for easier navigation.
* Ongoing work on WUI paginationMichael DeHaan2007-10-311-1/+1
|
* Some more work on removing the API refs in util...Michael DeHaan2007-10-231-5/+5
|
* Various changes to allow for increased performance in the WebUI and in ↵Michael DeHaan2007-10-171-6/+4
| | | | | | saving state, plus a fix to import that keeps from creating extra yum repo entries for various distros.
* Adding test script for very large number of machines.Michael DeHaan2007-10-151-0/+29
|
* Support for setting virt-cpu number in cobbler + tests.Michael DeHaan2007-10-101-4/+6
|
* Added profile virt-bridge setting to the settings fileMichael DeHaan2007-10-101-5/+1
|
* The stringification problem appears to lie in the serializer, so explicitly ↵Michael DeHaan2007-10-091-14/+14
| | | | | | use strings in the YAML to pacify the XMLRPC bits. Plus, this is more readable.
* In XMLRPC, dicts must have string keys, so changing NIC storage to be ↵Michael DeHaan2007-10-091-1/+3
| | | | XMLRPC-friendly.
* Added tests + fixes to multiple NIC support.Michael DeHaan2007-10-091-12/+56
|
* Working on pluggable serializers.root2007-09-051-10/+12
|
* Fix bug in repo evaluation with inherited subprofiles.root2007-08-271-1/+6
|
* Fix bug with upward/downward propogation of array content when using ↵Michael DeHaan2007-08-271-2/+51
| | | | inheritance.
* Some code to fix a reference issue that allowed for hash value propogation ↵Michael DeHaan2007-08-231-13/+17
| | | | | | | up the graph, in ksmeta and possibly kopts. Also added some code to check to make sure an object of the wrong type never gets added to the wrong collection.
* Added some tests to detect whether profile inheritance works correctly.Michael DeHaan2007-08-221-5/+107
| | | | Also adds some tests that exercise utils.blender()
* Adding zeroconf to changelogMichael DeHaan2007-08-201-1/+3
|
* Ben Riggs patch to allow find to take arbitrary variables plus a reworkingMichael DeHaan2007-08-151-14/+28
| | | | | | of find (mpd) to add some error checking, list returns, and other semi-useful stuff. Plus tests and an optomization to allow name=foo as the only parameter to be just as fast as before.
* This is Adam Rosenwald's patch for seperating triggers into pre and postMichael DeHaan2007-06-061-8/+0
| | | | triggers, plus my modifications to make them deal with return codes.
* Begining of i18n of cobbler. Tests pass, works with English. Need to testMichael DeHaan2007-05-291-3/+0
| | | | | | | translation function and run manual testing to ensure no functional errors in other places (such as import). cobbler_msg (strings file) has been removed.
* Remove some stray tests that no longer apply.Michael DeHaan2007-04-201-2/+0
|
* This is 0.4.5Michael DeHaan2007-03-231-45/+0
|