Skip to content

Commit 5b655fb

Browse files
committed
prepare for 0.0.6 and fix tests due to latest pyexcel 0.2.0
1 parent 189c2b5 commit 5b655fb

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.5
1+
0.0.6rc1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
README_txt = readme.read()
1010

1111
dependencies = [
12-
'pyexcel>=0.1.7'
12+
'pyexcel>=0.2.0'
1313
]
1414

1515
with open("VERSION", "r") as version:

tests/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ rednose
33
nose-cov
44
codecov
55
coverage
6-
pyexcel-xls>=0.0.7
7-
pyexcel>=0.1.7
6+
pyexcel-xls>=0.1.0
7+
pyexcel>=0.2.0
88
SQLAlchemy

tests/test_webio.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,35 +56,35 @@ def test_excel_input_get_file_tuple(self):
5656
testinput = webio.ExcelInputInMultiDict()
5757
testinput.get_file_tuple(field_name="test") # booom
5858

59+
@raises(NotImplementedError)
5960
def test_get_sheet(self):
6061
myinput = TestInput()
6162
sheet = myinput.get_sheet(unrelated="foo bar")
62-
assert sheet == None
6363

64+
@raises(NotImplementedError)
6465
def test_get_array(self):
6566
myinput = TestInput()
6667
array = myinput.get_array(unrelated="foo bar")
67-
assert array == None
6868

69+
@raises(NotImplementedError)
6970
def test_get_dict(self):
7071
myinput = TestInput()
7172
result = myinput.get_dict(unrelated="foo bar")
72-
assert result == None
7373

74+
@raises(NotImplementedError)
7475
def test_get_records(self):
7576
myinput = TestInput()
76-
result = myinput.get_records(unrelated="foo bar")
77-
assert result == None
77+
myinput.get_records(unrelated="foo bar")
7878

79+
@raises(NotImplementedError)
7980
def test_get_book(self):
8081
myinput = TestInput()
81-
result = myinput.get_book(unrelated="foo bar")
82-
assert result == None
82+
myinput.get_book(unrelated="foo bar")
8383

84+
@raises(NotImplementedError)
8485
def test_get_book_dict(self):
8586
myinput = TestInput()
86-
result = myinput.get_book_dict(unrelated="foo bar")
87-
assert result == None
87+
myinput.get_book_dict(unrelated="foo bar")
8888

8989
def test_dummy_function(self):
9090
result = webio.dummy_func(None, None)

0 commit comments

Comments
 (0)