Typos in tests (#156)

Thanks @simonwiles
This commit is contained in:
Simon Wiles 2020-09-09 11:21:22 -07:00 committed by GitHub
commit 367082e787
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -561,7 +561,7 @@ def test_bulk_insert_more_than_999_values(fresh_db):
"c6": 6,
"c7": 7,
"c8": 8,
"c8": 9,
"c9": 9,
"c10": 10,
"c11": 11,
}
@ -736,7 +736,7 @@ def test_insert_thousands_using_generator(fresh_db):
assert 10000 == fresh_db["test"].count
def test_insert_thousands_raises_exception_wtih_extra_columns_after_first_100(fresh_db):
def test_insert_thousands_raises_exception_with_extra_columns_after_first_100(fresh_db):
# https://github.com/simonw/sqlite-utils/issues/139
with pytest.raises(Exception, match="table test has no column named extra"):
fresh_db["test"].insert_all(