Skip to content

Commit

Permalink
Adjusted test for i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
msuozzo committed Oct 13, 2015
1 parent f7aca04 commit e5a4b46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def test_update_cell(self):
self.sheet.update_cell(1, 2, 42)
self.assertEqual(self.sheet.cell(1, 2).value, '42')

self.sheet.update_cell(1, 2, 42)
self.sheet.update_cell(1, 2, '0042')
self.assertEqual(self.sheet.cell(1, 2).value, '42')

self.sheet.update_cell(1, 2, 42.01)
Expand Down Expand Up @@ -381,7 +381,7 @@ def test_get_all_records_different_header(self):
def test_append_row(self):
num_rows = self.sheet.row_count
num_cols = self.sheet.col_count
values = ['o_0'] * (num_cols + 4)
values = [I18N_STR] * (num_cols + 4)
self.sheet.append_row(values)
self.assertEqual(self.sheet.row_count, num_rows + 1)
self.assertEqual(self.sheet.col_count, num_cols + 4)
Expand Down

0 comments on commit e5a4b46

Please sign in to comment.