aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gmail.com>2013-09-10 04:28:14 -0700
committerTheo Chatzimichos <tampakrap@gmail.com>2013-09-10 04:28:14 -0700
commit05c180724211bafde30b14c64717a846998ebd6c (patch)
treeaf642b9de7c143a0fbaedcce8844f9b179522326 /okupy/tests/unit/test_signup.py
parentMerge pull request #87 from tampakrap/bin (diff)
parentFix the tests about rendered result, they were not properly concatenating str... (diff)
downloadidentity.gentoo.org-05c180724211bafde30b14c64717a846998ebd6c.tar.gz
identity.gentoo.org-05c180724211bafde30b14c64717a846998ebd6c.tar.bz2
identity.gentoo.org-05c180724211bafde30b14c64717a846998ebd6c.zip
Merge pull request #88 from tampakrap/templates
Identation, whitespace and other cosmetics fixes in templates
Diffstat (limited to 'okupy/tests/unit/test_signup.py')
-rw-r--r--okupy/tests/unit/test_signup.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/okupy/tests/unit/test_signup.py b/okupy/tests/unit/test_signup.py
index 459e3f8..8009546 100644
--- a/okupy/tests/unit/test_signup.py
+++ b/okupy/tests/unit/test_signup.py
@@ -204,9 +204,7 @@ class SignupunitTestsNoLDAP(OkupyTestCase):
def test_rendered_signup_form(self):
request = set_request(uri='/signup')
response = signup(request)
- signup_form_part = '<label for="id_first_name">First Name:</label>'
- '<input id="id_first_name" maxlength="100" name="first_name"'
- 'type="text" />'
+ signup_form_part = '<label for="id_first_name">First Name:</label><input id="id_first_name" maxlength="100" name="first_name" type="text" />' # noqa
self.assertIn(signup_form_part, response.content)
def test_empty_signup_form_raises_form_error_messages(self):