File tree 1 file changed +8
-3
lines changed
1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -55,17 +55,17 @@ def test_excel_input_get_file_tuple(self):
55
55
@raises (NotImplementedError )
56
56
def test_get_sheet (self ):
57
57
myinput = TestInput ()
58
- sheet = myinput .get_sheet (unrelated = "foo bar" )
58
+ myinput .get_sheet (unrelated = "foo bar" )
59
59
60
60
@raises (NotImplementedError )
61
61
def test_get_array (self ):
62
62
myinput = TestInput ()
63
- array = myinput .get_array (unrelated = "foo bar" )
63
+ myinput .get_array (unrelated = "foo bar" )
64
64
65
65
@raises (NotImplementedError )
66
66
def test_get_dict (self ):
67
67
myinput = TestInput ()
68
- result = myinput .get_dict (unrelated = "foo bar" )
68
+ myinput .get_dict (unrelated = "foo bar" )
69
69
70
70
@raises (NotImplementedError )
71
71
def test_get_records (self ):
@@ -160,6 +160,11 @@ def test_get_sheet(self):
160
160
assert sheet .to_array () == self .data
161
161
f .close ()
162
162
163
+ @raises (Exception )
164
+ def test_wrong_file_tuple_returned (self ):
165
+ myinput = TestExtendedInput ()
166
+ myinput .get_sheet (field_name = ('xls' , None ))
167
+
163
168
164
169
class TestExcelInputOnBook :
165
170
def setUp (self ):
You can’t perform that action at this time.
0 commit comments