forked from AFPy/potodo
Added obsolete test
This commit is contained in:
parent
a1261f7141
commit
7e20819c06
39
tests/fixtures/python-docs-fr/obsolete.po
vendored
Normal file
39
tests/fixtures/python-docs-fr/obsolete.po
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Python 3\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-10-09 17:54+0200\n"
|
||||
"PO-Revision-Date: 2019-11-02 14:46+0100\n"
|
||||
"Last-Translator: XXX\n"
|
||||
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Generator: Poedit 2.2.1\n"
|
||||
|
||||
#: /un/chemin/idiot.rst:69
|
||||
msgid "This is a dummy sentence."
|
||||
msgstr "Ceci est une phrase bateau."
|
||||
|
||||
#: /un/chemin/idiot.rst:420
|
||||
msgid "Incredibly useful as a tool, this potodo"
|
||||
msgstr "Incroyablement utile comme outil, ce potodo"
|
||||
|
||||
#: /un/chemin/idiot.rst:666
|
||||
msgid "We should translate this eventually"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Supported Versions"
|
||||
#~ msgstr "Versions supportées"
|
||||
|
||||
#~ msgid "Other resources"
|
||||
#~ msgstr "Autres ressources"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "MingW -- Python extensions"
|
||||
#~ msgstr "Utiliser Python sur Windows"
|
||||
|
||||
#, fuzzy
|
||||
#~ msgid "A Python for Windows Tutorial"
|
||||
#~ msgstr "Utiliser Python sur Windows"
|
|
@ -22,3 +22,5 @@ def test_potodo(capsys):
|
|||
assert "token.po" in captured.out
|
||||
assert "glossary.po" not in captured.out
|
||||
assert "sphinx.po" not in captured.out
|
||||
assert "2 fuzzy" not in captured.out
|
||||
assert "3 fuzzy" in captured.out
|
||||
|
|
Loading…
Reference in New Issue
Block a user