diff --git a/django_pyvows/__init__.py b/django_pyvows/__init__.py index e22d7f2..d3c1c5f 100644 --- a/django_pyvows/__init__.py +++ b/django_pyvows/__init__.py @@ -8,4 +8,4 @@ # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 Rafael Caricio rafael@caricio.com -from context import DjangoContext, DjangoHTTPContext +from context import DjangoContext # NOQA diff --git a/django_pyvows/context.py b/django_pyvows/context.py index e0ea4a9..d0e028b 100644 --- a/django_pyvows/context.py +++ b/django_pyvows/context.py @@ -14,7 +14,6 @@ import django from pyvows import Vows from django_pyvows import http_helpers -from django_pyvows.assertions import Model, Template class DjangoContext(Vows.Context): @@ -43,18 +42,8 @@ class DjangoContext(Vows.Context): from django.test.utils import modify_settings return modify_settings(**kwargs) - def template(self, template_name, context): - return Template(template_name, context) - - def model(self, model_class): - return Model(self, model_class) - def get(self, path): return http_helpers.get(path) def post(self, path, params): return http_helpers.post(path, params) - - -class DjangoHTTPContext(DjangoContext): - pass