Metadata-Version: 1.1
Name: pytest-translations
Version: 0.2.0
Summary: Test your translation files
Home-page: https://github.com/thermondo/pytest-translations
Author: Denis Cornehl
Author-email: syphar@fastmail.fm
License: MIT
Description: ===============================
        pytest-translations
        ===============================
        
        .. image:: https://pypip.in/version/pytest-translations/badge.svg
            :target: https://pypi.python.org/pypi/pytest-translations/
            :alt: Latest Version
        
        .. image:: https://api.travis-ci.org/Thermondo/pytest-translations.png?branch=master
                :target: https://travis-ci.org/Thermondo/pytest-translations
        
        .. image:: https://pypip.in/d/pytest-translations/badge.png
                :target: https://pypi.python.org/pypi/pytest-translations
        
        
        py.test plugin to test your translation files. 
        
        Usage
        ---------
        
        install via::
        
            pip install pytest-translations
        
        if you then type::
        
            py.test --translations
            
        every file ending in ``.mo`` and ``.po`` will be discovered and tested, 
        starting from the command line arguments. 
        
        You also can execute only the translation-tests by using::
        
            py.test -m translations --translations
        
        This plugin uses `polib <https://polib.readthedocs.org/en/latest/>`_ to parse and test the catalogs. 
        
        
        Assertions on compiled ``.mo`` catalogs
        ---------------------------------------
        - there has to be a ``.po``-file with the exact same name (only the different extension)
        - is has to be parseable 
        - the ``.po`` file compiled again has to lead to the exact same entries
        
        Assertions on plain ``.po`` catalogs
        ---------------------------------------
        - it has to be parseable 
        - there mustn't be any untranslated entries
        - there mustn't be any fuzzy entries
        - there mustn't be any obsolete entries
        
        
        Developing
        ---------- 
        happens on 
        https://github.com/thermondo/pytest-translations/
        
        
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
