# -*- coding: utf-8 -*-
from __future__ import unicode_literals


from tipi import tipi as _tipi


tipi = lambda s: _tipi(s, lang='fr')


def test_double_quotes():
    assert tipi('''"brutal" "quote's"''') == (
        '''«brutal» «quote's»'''
    )


def test_single_quotes():
    assert tipi("""'brutal' 'quote's'""") == (
        """‹brutal› ‹quote's›"""
    )

[((8, 17, 8, 36), 'tipi.tipi', '_tipi', (), '', True, 'from tipi import tipi as _tipi\n')]