aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'gullydwarf-cfdv-f357_lost_password_functionality'Christopher Allan Webber2011-09-081-0/+88
|\ | | | | | | | | Conflicts: mediagoblin/auth/routing.py
| * Updating calls to recall password URLs to respect changed routingChristopher Allan Webber2011-09-071-6/+8
| |
| * for readability, and adds unit test for expired tokenCaleb Forbes Davis V2011-09-051-0/+10
| |
| * added unit tests for lost password codeCaleb Forbes Davis V2011-09-051-0/+76
| |
* | Merge branch 'i507_beaker_cache'Christopher Allan Webber2011-09-052-0/+56
|\ \
| * | Turning on caching for mediagoblin testing after all?Christopher Allan Webber2011-09-051-1/+2
| | | | | | | | | | | | Maybe we'll add a way to toggle this.
| * | Caching test... pretty basic.Christopher Allan Webber2011-09-051-0/+52
| | |
| * | Basic beaker caching functionality added to the application.Christopher Allan Webber2011-08-231-0/+3
| |/
* | Fixing the confirm delete unit testChristopher Allan Webber2011-09-051-2/+3
| | | | | | | | Now it's updated for the new checkbox-for-confirm code.
* | 508. Updates copyright/license informationWill Kahn-Greene2011-09-0115-15/+15
| |
* | Feature #403 - Ability to delete media entries - Fixes according to feedbackJoar Wandborg2011-08-301-2/+2
| | | | | | | | | | | | | | | | | | | | * Moved `mediagoblin.confirm` stuff to `mediagoblin.user_pages`, templates too. * Removed route extension for `mediagoblin.confirm` * Created `delete_media_files` which deletes all media files on the public_store when the entry is deleted * Created a new decorator to check if a user has the permission to delete an entry.
* | Added tests for delete/confirm_deleteJoar Wandborg2011-08-301-1/+60
|/
* Static serving in test_paste.ini wasn't pointing at test_user_dev eitherChristopher Allan Webber2011-08-231-1/+1
| | | | | Not that it matters too much, but... should point it to the right place :)
* Must switch queuestore_base_dir -> base_dir in test_mgoblin_app.iniChristopher Allan Webber2011-08-231-1/+1
|
* Updating tests for new storage config codeChristopher Allan Webber2011-08-212-15/+16
|
* Malicious uploads test with fake but not really image files working! :)Christopher Allan Webber2011-08-141-23/+36
|
* get_test_app() should turn on testing bucketsChristopher Allan Webber2011-08-011-0/+3
|
* Updating tests to reflect we redirect to the user's page after verification now.Christopher Allan Webber2011-08-011-4/+8
|
* Updating tests to reflect not having a 'tags_case_sensitive' option.Christopher Allan Webber2011-07-301-7/+0
| | | | I should probably update the tags of things when I change them.
* Removing option to make tags lowercaseChristopher Allan Webber2011-07-301-1/+0
| | | | ...that's basically handled by the slugification
* Merge remote branch 'remotes/gullydwarf-cfdv/f360_tagging' into mergetagsChristopher Allan Webber2011-07-303-0/+101
|\ | | | | | | | | Conflicts: mediagoblin/tests/test_submission.py
| * Adds tag unit testingCaleb Forbes Davis V2011-07-298-0/+260
| | | | | | | | | | | | | | | | | | - overrides default tag parsing globals in test_mgoblin_app.ini - piggybacks on existing test_submission code to check correct tag parsing and storage in the database - verifies expected behavior given different delimiters, case sensitivities, tags that are too long, and extra whitespace - verifies list-of-dict database storage and tag slugification
* | 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
| |