aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_util.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove remaining imports/calls to six not automatically removed by pyupgrade.Ben Sturmfels2021-03-051-2/+0
|
* Apply `pyupgrade --py3-plus` to remove Python 2 compatibility code.Ben Sturmfels2021-03-051-19/+19
|
* squash! Custom exception in mail.Jonathan Sandoval2016-04-081-0/+4
|
* Mail tests with no mail server configured.Jonathan Sandoval2016-04-081-0/+25
|
* Import mock correctly on py3Christopher Allan Webber2014-09-161-1/+4
| | | | This commit sponsored by Andrew McNicol. Thank you!
* Merge branch 'master' into merge-python3-portChristopher Allan Webber2014-09-161-0/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Has some issues, will iteratively fix! Conflicts: mediagoblin/gmg_commands/__init__.py mediagoblin/gmg_commands/deletemedia.py mediagoblin/gmg_commands/users.py mediagoblin/oauth/views.py mediagoblin/plugins/api/views.py mediagoblin/tests/test_api.py mediagoblin/tests/test_edit.py mediagoblin/tests/test_oauth1.py mediagoblin/tests/test_util.py mediagoblin/tools/mail.py mediagoblin/webfinger/views.py setup.py
| * Fix #861 - Add unit test and documentation for email_smtp_force_starttlsJessica Tallon2014-08-121-0/+27
| |
* | mbox_message.get_payload() returns bytestring.Berker Peksag2014-08-041-2/+2
| |
* | Use six.text_type instead of unicode().Berker Peksag2014-06-021-2/+4
|/ | | | I will be switch to use ``from __future__ import unicode_literals`` later.
* added new slugify with unidecodeBoris Bobrov2014-03-111-0/+6
|
* Unit test for ReallyLazyProxy.Elrond2013-04-251-0/+22
| | | | | | | LazyProxy caches its value. So create a unit test for lazy_pass_to_ugettext to make sure its returned proxy actually gives a different translation when the locale is switched.
* Also make slug unit test work with the new optionally-translitcodec-free codeChristopher Allan Webber2013-01-061-7/+7
|
* It's 2012 all up in hereChristopher Allan Webber2012-02-021-1/+1
|
* Finished splitting util.py into separate files.Aaron Williamson2011-10-011-12/+11
|
* Moved common, translation, template, and url code out of util.py and into ↵Aaron Williamson2011-10-011-18/+18
| | | | tools/[file].py
* 508. Updates copyright/license informationWill Kahn-Greene2011-09-011-1/+1
|
* A super strict HTML cleaner method with mediocre tests.Christopher Allan Webber2011-06-131-0/+19
|
* Generate unique slugs for newly submitted images.Aaron Williamson2011-05-131-0/+8
|
* Added some locale determination toolsChristopher Allan Webber2011-05-121-0/+26
|
* send_email tool and email sending testsChristopher Allan Webber2011-05-041-0/+41
|
* Moved app.load_controller -> util.import_component and added tests.Christopher Allan Webber2011-04-171-0/+30