Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions tests/test_csvw_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ def reader():
return r


def test_reader_configure(reader):
# positive test
def test_reader_configure_positive_test(reader):
input_schema = Schema(ktypes=[string()], names=["csv_urls"])
assert reader.configure(None, input_schema)
reader.configure(None, input_schema)

# negative test
def test_reader_negative_test(reader):
input_schema = Schema(ktypes=[string()], names=["arbitrary_name"])
with pytest.raises(
AssertionError, match='Input doesn\'t contains column "csv_urls"!'
Expand Down