From 7064671499b653a74e073805176fa66e2d62e029 Mon Sep 17 00:00:00 2001 From: Chris Van Date: Tue, 27 Mar 2012 15:33:25 -0700 Subject: [PATCH] create `mozilla-sent` support template --- mkt/support/templates/support/mozilla-sent.html | 1 + mkt/support/tests/test_views.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 mkt/support/templates/support/mozilla-sent.html diff --git a/mkt/support/templates/support/mozilla-sent.html b/mkt/support/templates/support/mozilla-sent.html new file mode 100644 index 0000000000..0d099347cc --- /dev/null +++ b/mkt/support/templates/support/mozilla-sent.html @@ -0,0 +1 @@ +{% include 'support/author-sent.html' %} diff --git a/mkt/support/tests/test_views.py b/mkt/support/tests/test_views.py index 13b456b3c5..34add8efeb 100644 --- a/mkt/support/tests/test_views.py +++ b/mkt/support/tests/test_views.py @@ -70,7 +70,7 @@ class TestRequestSupport(PurchaseBase): def test_contact_mozilla(self): data = {'text': 'Lorem ipsum dolor sit amet, consectetur'} res = self.client.post(self.get_support_url('mozilla'), data) - eq_(res.status_code, 302) + self.assertRedirects(res, self.get_support_url('mozilla-sent'), 302) def test_contact_mozilla_mails(self): data = {'text': 'Lorem ipsum dolor sit amet, consectetur'}