Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Commit

Permalink
hebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
Robpol86 committed May 14, 2016
1 parent 15ec450 commit bfdd5d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_width_and_alignment_align_and_pad_cell.py
Expand Up @@ -9,22 +9,27 @@
@pytest.mark.parametrize('string,align,width,expected_string', [
(u'test', '', 4, u'test'),
(u'蓝色', '', 4, u'蓝色'),
(u'שלום', '', 4, u'שלום'),
(u'ﺍرض', '', 3, u'ﺍرض'),
(u'test', '', 5, u'test '),
(u'蓝色', '', 5, u'蓝色 '),
(u'שלום', '', 5, u' שלום'),
(u'ﺍرض', '', 4, u' ﺍرض'),
(u'test', 'left', 5, u'test '),
(u'蓝色', 'left', 5, u'蓝色 '),
(u'שלום', 'left', 5, u'שלום '),
(u'ﺍرض', 'left', 4, u'ﺍرض '),
(u'test', 'right', 5, u' test'),
(u'蓝色', 'right', 5, u' 蓝色'),
(u'שלום', 'right', 5, u' שלום'),
(u'ﺍرض', 'right', 4, u' ﺍرض'),
(u'test', 'center', 6, u' test '),
(u'蓝色', 'center', 6, u' 蓝色 '),
(u'שלום', 'center', 6, u' שלום '),
(u'ﺍرض', 'center', 5, u' ﺍرض '),
])
def test_width(string, align, width, expected_string):
Expand Down

0 comments on commit bfdd5d2

Please sign in to comment.