Skip to content
Open
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion tests/test_convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ def test_convert_output_multiple_column_error(fresh_db):
table = fresh_db.table("table")
with pytest.raises(ValueError) as excinfo:
table.convert(["title", "other"], lambda v: v, output="out")
assert "output= can only be used with a single column" in str(excinfo.value)

assert "output= can only be used with a single column" in str(excinfo.value)


@pytest.mark.parametrize(
Expand Down
3 changes: 2 additions & 1 deletion tests/test_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ def test_create_error_if_invalid_self_referential_foreign_keys(fresh_db):
pk="id",
foreign_keys=(("ref_id", "one", "bad_column"),),
)
assert ex.value.args == ("No such column: one.bad_column",)

assert ex.value.args == ("No such column: one.bad_column",)


@pytest.mark.parametrize(
Expand Down
Loading