File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -46,31 +46,37 @@ def test_load_book(self):
46
46
testinput = webio .ExcelInput ()
47
47
testinput .get_book (filename = "test" ) # booom
48
48
49
+ @raises (IOError )
49
50
def test_get_sheet (self ):
50
51
myinput = TestInput ()
51
52
sheet = myinput .get_sheet (unrelated = "foo bar" )
52
53
assert sheet == None
53
54
55
+ @raises (IOError )
54
56
def test_get_array (self ):
55
57
myinput = TestInput ()
56
58
array = myinput .get_array (unrelated = "foo bar" )
57
59
assert array == None
58
60
61
+ @raises (IOError )
59
62
def test_get_dict (self ):
60
63
myinput = TestInput ()
61
64
result = myinput .get_dict (unrelated = "foo bar" )
62
65
assert result == None
63
66
67
+ @raises (IOError )
64
68
def test_get_records (self ):
65
69
myinput = TestInput ()
66
70
result = myinput .get_records (unrelated = "foo bar" )
67
71
assert result == None
68
72
73
+ @raises (IOError )
69
74
def test_get_book (self ):
70
75
myinput = TestInput ()
71
76
result = myinput .get_book (unrelated = "foo bar" )
72
77
assert result == None
73
78
79
+ @raises (IOError )
74
80
def test_get_book_dict (self ):
75
81
myinput = TestInput ()
76
82
result = myinput .get_book_dict (unrelated = "foo bar" )
You can’t perform that action at this time.
0 commit comments