Commit 6575e112 authored by Michal Čihař's avatar Michal Čihař

Fix test expectations

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 12fe2e52
......@@ -349,8 +349,14 @@ class EditResourceSourceTest(ViewTestCase):
has_plurals = False
def test_edit(self):
translation = self.get_translation()
translate_url = translation.get_translate_url()
translate_url = reverse(
'translate',
kwargs={
'project': 'test',
'subproject': 'test',
'lang': 'en'
}
)
response = self.edit_unit(
'Hello, world!\n',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment