Skip to content

Commit 6eddca8

Browse files
committed
Add unit tests
1 parent 18e314e commit 6eddca8

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

tests/samples/invalid_formula.xls

42 KB
Binary file not shown.

tests/test_invalid_formula.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import unittest
2+
3+
import xlrd
4+
5+
from .helpers import from_sample
6+
7+
8+
class TestInvalidFormula(unittest.TestCase):
9+
def test_evaluate_name_formula_with_invalid_operand(self):
10+
xlrd.open_workbook(from_sample('invalid_formula.xls'))
11+
12+
13+
if __name__ == '__main__':
14+
unittest.main()

0 commit comments

Comments
 (0)