Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-taggit
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
4a74efb8
authored
Mar 23, 2013
by
Xavier Ordoquy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the test 1.3 and 1.5 compatible.
parent
3dd19708
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
taggit/tests/tests.py
+5
-1
No files found.
taggit/tests/tests.py
View file @
4a74efb8
...
@@ -52,7 +52,11 @@ class BaseTaggingTest(object):
...
@@ -52,7 +52,11 @@ class BaseTaggingTest(object):
return
form_str
return
form_str
def
assert_form_renders
(
self
,
form
,
html
):
def
assert_form_renders
(
self
,
form
,
html
):
self
.
assertHTMLEqual
(
str
(
form
),
self
.
_get_form_str
(
html
))
try
:
self
.
assertHTMLEqual
(
str
(
form
),
self
.
_get_form_str
(
html
))
except
AttributeError
:
self
.
assertEqual
(
str
(
form
),
self
.
_get_form_str
(
html
))
class
BaseTaggingTestCase
(
TestCase
,
BaseTaggingTest
):
class
BaseTaggingTestCase
(
TestCase
,
BaseTaggingTest
):
pass
pass
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment