aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* | Log in user after regitrationChristopher Allan Webber2011-07-291-0/+5
| |
* | Redirect to the user's profile after registrationChristopher Allan Webber2011-07-291-2/+2
| | | | | | | | | | | | | | - Updated the view - Updated the tests - Fixed a weirdness in the registration view where the 'user' variable used to be called 'entry'
* | Finished the docstring of the creature_add_magical_powers fake migrationChristopher Allan Webber2011-07-171-1/+2
| |
* | Merge remote branch 'remotes/cmoylan/test_submission_views_365'Christopher Allan Webber2011-07-166-0/+157
|\ \
| * | Merge branch 'master' into test_submission_views_365Chris Moylan2011-07-101-2/+2
| |\|
| * | added suggestions as per http://bugs.foocorp.net/issues/365#note-9Chris Moylan2011-07-101-47/+41
| | |
| * | finished basic submission testingChris Moylan2011-07-056-12/+94
| | |
| * | Merge branch 'master' into test_submission_views_365Chris Moylan2011-07-054-9/+9
| |\ \
| * | | mocked out submission specChris Moylan2011-06-301-3/+37
| | | |
| * | | Merge branch 'master' into test_submission_views_365Chris Moylan2011-06-283-13/+53
| |\ \ \
| * | | | removed the @setup_fresh_app decorator because it was messing \Chris Moylan2011-06-231-3/+5
| | | | | | | | | | | | | | | | | | | | with my fixtures.
| * | | | Merge branch 'master' into test_submission_views_365Chris Moylan2011-06-222-15/+23
| |\ \ \ \
| * | | | | began work on submission test. nothing to see hereChris Moylan2011-06-211-0/+45
| | | | | |
* | | | | | A couple of tests related to migrations_to_run()Christopher Allan Webber2011-07-131-1/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Includes a test making sure an exception is raised if current_migration not set in database
* | | | | | test_migrations_recorded_as_(latest|zero) tests passing :)Christopher Allan Webber2011-07-101-2/+4
| | | | | |
* | | | | | test_run_partial_migrations() working!Christopher Allan Webber2011-07-101-1/+13
| | | | | |
* | | | | | testing tools install_fixtures_simple and assert_db_meets_expectedChristopher Allan Webber2011-07-101-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Thought I installed these... guess I didn't!
* | | | | | test_run_full_migrations() all working properly!Christopher Allan Webber2011-07-101-26/+81
| | | | | |
* | | | | | Mock out tests, define expected results, add first testChristopher Allan Webber2011-07-101-0/+115
| | | | | | | | | | | | | | | | | | | | | | | | Specifically test_migrations_registered_and_sorted() :)
* | | | | | Added the actual fake/testing migrations. Haven't run them yet...Christopher Allan Webber2011-07-101-4/+22
| | | | | |
* | | | | | test_migrations.py w/ migrate'able fixtures and some migration scaffoldingChristopher Allan Webber2011-07-101-0/+166
| |_|_|_|/ |/| | | | | | | | | | | | | | Not usable yet, but fleshing out well!
* | | | | allows using messaging instead of verify_email.html to pass testsCaleb Forbes Davis V2011-07-041-2/+2
| |_|_|/ |/| | | | | | | | | | | | | | | * re-instated verification_successful flag * modified test_auth to verify nav to user_pages/user.html template
* | | | Move config.py to init/Elrond2011-07-023-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.celeryElrond2011-07-023-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 Webber2011-06-281-0/+44
|\ \ \
| * | | adds message queue unit testingCaleb Forbes Davis V2011-06-281-0/+44
| | |/ | |/|
* / | Celery wasn't really being properly connected during tests.Christopher Allan Webber2011-06-262-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 setChristopher Allan Webber2011-06-212-7/+15
| |
* | Make sure we *ONLY* ever kill the test database, EVER.Christopher Allan Webber2011-06-212-9/+9
|/
* Also moving the test_server.ini to test_paste.ini to avoid ambiguity.Christopher Allan Webber2011-06-202-1/+1
|
* Merge remote branch 'remotes/cmoylan/test_auth_views_364'Christopher Allan Webber2011-06-191-6/+86
|\
| * added test coverage for redirecting after login with the next paramChris Moylan2011-06-191-2/+12
| |
| * Added tests for all sorts of login form abuse.Chris Moylan2011-06-191-6/+76
| | | | | | | | Added tests for log out
* | Need to run nosetests with CELERY_CONFIG_MODULE set to from_tests again.Christopher Allan Webber2011-06-191-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 Webber2011-06-191-0/+7
|\ \ | | | | | | | | | | | | Conflicts: mediagoblin/tests/test_globals.py
| * | Let setup_globals check for known globalsElrond2011-06-121-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 parametersChristopher Allan Webber2011-06-191-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 Webber2011-06-191-0/+2
| | | | | | | | | | | | | | | This got removed in master at the same time that it got used in the configobj branch...
* | | Merge branch 'configobj'Christopher Allan Webber2011-06-1913-49/+223
|\ \ \ | |_|/ |/| |
| * | renaming storage_system_from_paste_config()->storage_system_from_config()Christopher Allan Webber2011-06-191-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 Webber2011-06-183-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 setupChristopher Allan Webber2011-06-183-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 Webber2011-06-181-3/+4
| | |
| * | Tests for mediagoblin.config functionsChristopher Allan Webber2011-06-185-0/+134
| | | | | | | | | | | | | | | | | | Tests for: - read_mediagoblin_config() - generate_validation_report()
* | | Removing unused pkg_resources import from test_celery_setupChristopher Allan Webber2011-06-181-2/+0
|/ /
* | logins are now somewhat testedChris Moylan2011-06-171-5/+43
| |
* | Merge remote branch 'remotes/elrond/dev/workbench_class'Christopher Allan Webber2011-06-141-26/+24
|\ \
| * | Move destroy_workbench to Workbench classElrond2011-06-141-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()Elrond2011-06-141-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.Elrond2011-06-131-12/+18
| | | | | | | | | | | | | | | Some references to Workbench.dir look ugly, I'm happy to hear suggestions there.