Statistics
| Branch: | Tag: | Revision:

root / snf-django-lib / snf_django / utils @ f724142f

Name Size
__init__.py 0 Bytes
testing.py 7.8 kB
urls.py 3.4 kB

Latest revisions

# Date Author Comment
f724142f 07/02/2013 12:31 pm Christos Stavrakakis

snf_django: Fix bug in BaseAPITest

Include 202 in success responses.

2ad4eb80 06/17/2013 01:35 pm Kostas Papadimitriou

django-lib: Additional BaseAPITest helper assertion

Introduce assertMethodNotAllowed method in BaseAPITest class. The method
asserts that provided response is a valid ``Method not allowed`` API response.

67c10753 06/13/2013 12:37 pm Kostas Papadimitriou

djangolib: Improve root redirect handling

- avoid registering root url in case <base_path> equals to root url
- additional helper redirect for non trailing slash <base_path> endpoint

2ea43f58 06/13/2013 11:38 am Kostas Papadimitriou

djangolib: Append trailling slash on default root redirects

b657485d 06/05/2013 08:31 pm Kostas Papadimitriou

django_lib: Component's urlpatterns utilty

extend_with_root_redirects can be used by components to easily extend the
registered urlpatterns with utility redirect views for the root urls.

aba462a2 05/16/2013 02:55 pm Giorgos Korfiatis

astakos: Adapt tests to 2.6-style unittest

Define assertGreater, assertIn, assertRaises in snf_django.utils.testing

27899d6f 05/09/2013 03:13 pm Christos Stavrakakis

Improve mocked quotaholder

Mock 'resolve_commissions' call.

184a2a8c 04/30/2013 05:05 pm Christos Stavrakakis

Mock quotaholder for Cyclades tests

Create 'mocked_quotaholder' context manager to bypass commission and use
it in Cyclades tests. Also this commit does some various fixes to other
tests.

d2b8ec7b 04/08/2013 11:07 am Christos Stavrakakis

Move common test code to snf_django.lib.testing

View revisions

Also available in: Atom