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
46af0b3c
Commit
46af0b3c
authored
Jan 21, 2016
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check returned message as well
Signed-off-by:
Michal Čihař
<
michal@cihar.com
>
parent
d66ac441
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
weblate/trans/tests/test_autotranslate.py
weblate/trans/tests/test_autotranslate.py
+6
-1
No files found.
weblate/trans/tests/test_autotranslate.py
View file @
46af0b3c
...
...
@@ -68,7 +68,12 @@ class AutoTranslationTest(ViewTestCase):
)
params
=
{
'project'
:
'test'
,
'lang'
:
'cs'
,
'subproject'
:
'test-2'
}
url
=
reverse
(
'auto_translation'
,
kwargs
=
params
)
response
=
self
.
client
.
post
(
url
)
response
=
self
.
client
.
post
(
url
,
follow
=
True
)
self
.
assertContains
(
response
,
'Automatic translation completed, 1 string udated.'
)
self
.
assertRedirects
(
response
,
reverse
(
'translation'
,
kwargs
=
params
))
# Check we've translated something
translation
=
self
.
subproject2
.
translation_set
.
get
(
language_code
=
'cs'
)
...
...
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