Skip to content

Commit cbc6296

Browse files
committed
☔ test complex hidden sheets, #20
1 parent be0061d commit cbc6296

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed
4.95 KB
Binary file not shown.

tests/test_hidden.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
import os
22
from nose.tools import eq_
3-
from pyexcel_xls import get_data
3+
from pyexcel_xlsx import get_data
44

55

66
def test_hidden_row():
77
data = get_data(os.path.join("tests", "fixtures", "hidden.xlsx"),
8-
skip_hidden_row_and_column=True)
8+
skip_hidden_row_and_column=True,
9+
library='pyexcel-xlsx')
910
expected = [[1, 2], [7, 9]]
1011
eq_(data['Sheet1'], expected)
12+
13+
14+
def test_complex_hidden_sheets():
15+
data = get_data(
16+
os.path.join("tests", "fixtures", "complex_hidden_sheets.xlsx"),
17+
skip_hidden_row_and_column=True,
18+
library='pyexcel-xlsx')
19+
expected = [[1, 3, 5, 7, 9], [31, 33, 35, 37, 39], [61, 63, 65, 67]]
20+
eq_(data['Sheet1'], expected)

0 commit comments

Comments
 (0)