Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | allows using messaging instead of verify_email.html to pass tests | Caleb Forbes Davis V | 2011-07-04 | 1 | -2/+2 |
| | | | | | * re-instated verification_successful flag * modified test_auth to verify nav to user_pages/user.html template | ||||
* | Move config.py to init/ | Elrond | 2011-07-02 | 3 | -3/+3 |
| | | | | | | | Some simple changes needed to do that. The interesting question left: Should config_spec.ini also be moved? | ||||
* | Move mediagoblin.celery_setup -> mediagoblin.init.celery | Elrond | 2011-07-02 | 3 | -6/+6 |
| | | | | | | As the first target of the new .init. submodule move celery_setup there. Quite straight forward, just a lot of places to change. | ||||
* | Merge remote branch 'remotes/gullydwarf-cfdv/f368_msg_framework' | Christopher Allan Webber | 2011-06-28 | 1 | -0/+44 |
|\ | |||||
| * | adds message queue unit testing | Caleb Forbes Davis V | 2011-06-28 | 1 | -0/+44 |
| | | |||||
* | | Celery wasn't really being properly connected during tests. | Christopher Allan Webber | 2011-06-26 | 2 | -13/+9 |
|/ | | | | | | | | | | | | | | | Lots of fixes to do this. - setup_celery_from_config no longer responsible for checking 'celery_setup_elsewhere'; that's the app's job. (This was a problem because more than the app was relying on using this function) - Allow us to specifically set the config file we're setting up celery from with setup_self - Set up celery_always_eager. This is something we strongly want while doing tests. - Instead of setting up the app in the get_test_app method, let's set that up simply by importing from_tests, which should itself up via from_celery being the environment variable being set. | ||||
* | Extra checks so that we don't even RUN tests unless the right celery environ set | Christopher Allan Webber | 2011-06-21 | 2 | -7/+15 |
| | |||||
* | Make sure we *ONLY* ever kill the test database, EVER. | Christopher Allan Webber | 2011-06-21 | 2 | -9/+9 |
| | |||||
* | Also moving the test_server.ini to test_paste.ini to avoid ambiguity. | Christopher Allan Webber | 2011-06-20 | 2 | -1/+1 |
| | |||||
* | Merge remote branch 'remotes/cmoylan/test_auth_views_364' | Christopher Allan Webber | 2011-06-19 | 1 | -6/+86 |
|\ | |||||
| * | added test coverage for redirecting after login with the next param | Chris Moylan | 2011-06-19 | 1 | -2/+12 |
| | | |||||
| * | Added tests for all sorts of login form abuse. | Chris Moylan | 2011-06-19 | 1 | -6/+76 |
| | | | | | | | | Added tests for log out | ||||
* | | Need to run nosetests with CELERY_CONFIG_MODULE set to from_tests again. | Christopher Allan Webber | 2011-06-19 | 1 | -3/+5 |
| | | | | | | | | | | Basically, if we don't do this celery sets itself up before it should and improperly. :\ | ||||
* | | Merge remote branch 'remotes/elrond/idea/globals_check' | Christopher Allan Webber | 2011-06-19 | 1 | -0/+7 |
|\ \ | | | | | | | | | | | | | Conflicts: mediagoblin/tests/test_globals.py | ||||
| * | | Let setup_globals check for known globals | Elrond | 2011-06-12 | 1 | -0/+7 |
| | | | | | | | | | | | | | | | | | | To avoid typos in calling setup_globals(), only allow globals, which are already known to the system. Plugins should have their own globals. | ||||
* | | | Reset the globals parameters while testing parameters | Christopher Allan Webber | 2011-06-19 | 1 | -11/+20 |
| | | | | | | | | | | | | | | | (This way we can be sure that the database is torn down if necessary but this was the only test that passed last.) | ||||
* | | | Actually we need pkg_resources again in test_celery_setup :) | Christopher Allan Webber | 2011-06-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | This got removed in master at the same time that it got used in the configobj branch... | ||||
* | | | Merge branch 'configobj' | Christopher Allan Webber | 2011-06-19 | 13 | -49/+223 |
|\ \ \ | |_|/ |/| | | |||||
| * | | renaming storage_system_from_paste_config()->storage_system_from_config() | Christopher Allan Webber | 2011-06-19 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | As Elrond points out, this name doesn't make sense anymore since this isn't based on the paste config. Thanks Elrond! | ||||
| * | | Preparing celery unit tests for new setup. | Christopher Allan Webber | 2011-06-18 | 3 | -17/+40 |
| | | | | | | | | | | | | | | | Instead of the previous passing in of dictionaries, we're actually checking some example config files. | ||||
| * | | Nosetests should now be able to run using the new configobj / app init setup | Christopher Allan Webber | 2011-06-18 | 3 | -26/+42 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Lots of changes: - CELERY_CONFIG_FILE does not need to be set to the from_tests module to run tests anymore, in fact it *should not be set at all* and is specifically forbidden. - moved around the configuration to the new 2-file format - and generally adjusting the code appropriately. | ||||
| * | | Only kill the database if it's really set up. | Christopher Allan Webber | 2011-06-18 | 1 | -3/+4 |
| | | | |||||
| * | | Tests for mediagoblin.config functions | Christopher Allan Webber | 2011-06-18 | 5 | -0/+134 |
| | | | | | | | | | | | | | | | | | | Tests for: - read_mediagoblin_config() - generate_validation_report() | ||||
* | | | Removing unused pkg_resources import from test_celery_setup | Christopher Allan Webber | 2011-06-18 | 1 | -2/+0 |
|/ / | |||||
* | | logins are now somewhat tested | Chris Moylan | 2011-06-17 | 1 | -5/+43 |
| | | |||||
* | | Merge remote branch 'remotes/elrond/dev/workbench_class' | Christopher Allan Webber | 2011-06-14 | 1 | -26/+24 |
|\ \ | |||||
| * | | Move destroy_workbench to Workbench class | Elrond | 2011-06-14 | 1 | -11/+4 |
| | | | | | | | | | | | | | | | And add a lot of warnings, as the checks for "being part of the main Manager" are all gone. | ||||
| * | | Drop WorkbenchManager.localized_file() | Elrond | 2011-06-14 | 1 | -6/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | As Workbench has the localized_file() method, use this everywhere and drop the wrapper method from WorkbenchManager. The processing code already did that. | ||||
| * | | Create a Workbench class and use it everywhere. | Elrond | 2011-06-13 | 1 | -12/+18 |
| | | | | | | | | | | | | | | | Some references to Workbench.dir look ugly, I'm happy to hear suggestions there. | ||||
* | | | A super strict HTML cleaner method with mediocre tests. | Christopher Allan Webber | 2011-06-13 | 1 | -0/+19 |
|/ / | |||||
* | | mediagoblin.globals->mediagoblin.mg_globals | Christopher Allan Webber | 2011-06-12 | 4 | -13/+13 |
| | | |||||
* | | Merge remote branch 'remotes/elrond/idea/tests_kill_db' | Christopher Allan Webber | 2011-06-12 | 1 | -0/+11 |
|\ \ | |/ |/| | |||||
| * | Tests: Kill the whole testing database after all tests | Elrond | 2011-06-10 | 1 | -0/+11 |
| | | | | | | | | | | | | nose allows setup and teardown functions at the package level. So use this to drop the complete database after all tests have finished. | ||||
* | | possibly_localize_file->localized_file... a bit less terribly long. | Christopher Allan Webber | 2011-06-11 | 1 | -5/+5 |
| | | |||||
* | | Don't bother returning whether or not we copied it or not, we can | Christopher Allan Webber | 2011-06-11 | 1 | -5/+4 |
| | | | | | | | | figure that out by looking to see whether our storage is local or not. | ||||
* | | Moving workbench out of process_media | Christopher Allan Webber | 2011-06-11 | 1 | -1/+1 |
| | | |||||
* | | test WorkbenchManager.possibly_localize_file() | Christopher Allan Webber | 2011-06-11 | 1 | -0/+43 |
| | | |||||
* | | Added a FakeRemoteStorage, for testing purposes | Christopher Allan Webber | 2011-06-11 | 1 | -2/+10 |
| | | |||||
* | | Make sure workbench won't kill directories out of scope. | Christopher Allan Webber | 2011-06-11 | 1 | -6/+16 |
| | | |||||
* | | Tests for creating/destroying workbenches | Christopher Allan Webber | 2011-06-11 | 1 | -0/+44 |
| | | |||||
* | | Adding a copy_locally() method to the StorageInterface and giving it a test. | Christopher Allan Webber | 2011-06-11 | 1 | -0/+16 |
| | | |||||
* | | Allow storage systems to be local and allow for a get_local_path | Christopher Allan Webber | 2011-06-11 | 1 | -0/+17 |
|/ | | | | method if applicable. | ||||
* | A setup_fresh_app decorator which should make writing tests a bit easier. | Christopher Allan Webber | 2011-06-06 | 2 | -5/+19 |
| | | | | Setting test_register_views() to use it also. | ||||
* | Docstring for test_register_views() | Christopher Allan Webber | 2011-06-05 | 1 | -0/+3 |
| | |||||
* | Make sure that two users with the same username can't register. | Christopher Allan Webber | 2011-06-05 | 1 | -1/+14 |
| | |||||
* | Email verification view test works | Christopher Allan Webber | 2011-06-05 | 1 | -1/+25 |
| | |||||
* | Make sure we can register, and then that we get the verification email | Christopher Allan Webber | 2011-06-05 | 1 | -4/+46 |
| | |||||
* | Make sure that get_test_app() really does wipe the database | Christopher Allan Webber | 2011-06-05 | 1 | -0/+38 |
| | |||||
* | Just a bit of formatting for these unfinished tests ;) | Christopher Allan Webber | 2011-06-05 | 1 | -2/+4 |
| | |||||
* | Test registration form integrity | Christopher Allan Webber | 2011-06-05 | 1 | -0/+64 |
| |