test_translated_filenames_in_markdown_links fails because of missing linebreak in markdown

Bug #1433957 reported by Daniel Holbach
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Help App
Fix Released
High
Daniel Holbach

Bug Description

======================================================================
FAIL: test_translated_filenames_in_markdown_links (test_translations.HelpTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/daniel/dev/apps/help-app/edit-here/tests/test_translations.py", line 31, in test_translated_filenames_in_markdown_links
    self.assertEqual(1, len(link_msgstr))
AssertionError: 1 != 2

In index.md:

[Take me to the FAQ!]({filename}faq.md)
[Get in touch]({filename}get-in-touch.md)

results in the following in po/de.po:

#. type: Plain text
#: content/pages/index.md:11
msgid ""
"[Take me to the FAQ!]({filename}faq.md) [Get in touch]({filename}get-in-"
"touch.md)"
msgstr ""
"[Take me to the FAQ!]({filename}faq.de.md) [Get in touch]({filename}get-in-"
"touch.md)"

Related branches

Changed in help-app:
assignee: nobody → Daniel Holbach (dholbach)
milestone: none → 0.2
status: New → In Progress
importance: Undecided → High
Changed in help-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.