Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
1ecae4e5
Commit
1ecae4e5
authored
Feb 16, 2016
by
Jitka Novotna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pylint
parent
66820c89
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
weblate/trans/models/componentlist.py
weblate/trans/models/componentlist.py
+0
-1
weblate/trans/tests/test_views.py
weblate/trans/tests/test_views.py
+2
-2
No files found.
weblate/trans/models/componentlist.py
View file @
1ecae4e5
...
...
@@ -21,7 +21,6 @@
"""Components list."""
from
django.db
import
models
from
django.core.exceptions
import
ValidationError
from
django.utils.encoding
import
python_2_unicode_compatible
from
django.utils.translation
import
ugettext_lazy
as
_
...
...
weblate/trans/tests/test_views.py
View file @
1ecae4e5
...
...
@@ -401,8 +401,8 @@ class HomeViewTest(ViewTestCase):
self
.
assertNotContains
(
response
,
'whiteboard'
)
def
test_component_list
(
self
):
cl
=
ComponentList
(
name
=
"TestCL"
,
slug
=
"testcl"
)
cl
.
save
()
cl
ist
=
ComponentList
(
name
=
"TestCL"
,
slug
=
"testcl"
)
cl
ist
.
save
()
response
=
self
.
client
.
get
(
reverse
(
'home'
))
self
.
assertContains
(
response
,
'TestCL'
)
...
...
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