mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Test improvements and fixed deprecation warnings (#2464)
* `asyncio_default_fixture_loop_scope = function` * Fix a bunch of BeautifulSoup deprecation warnings * Fix for PytestUnraisableExceptionWarning: Exception ignored in: <_io.FileIO [closed]> * xfail for sql_time_limit tests (these can be flaky in CI) Refs #2461
This commit is contained in:
parent
962da77d61
commit
53a3b3c80e
11 changed files with 49 additions and 44 deletions
|
|
@ -36,7 +36,7 @@ def test_inspect_cli(app_client):
|
|||
assert expected_count == database["tables"][table_name]["count"]
|
||||
|
||||
|
||||
def test_inspect_cli_writes_to_file(app_client):
|
||||
def test_inspect_cli_writes_to_file(event_loop, app_client):
|
||||
runner = CliRunner()
|
||||
result = runner.invoke(
|
||||
cli, ["inspect", "fixtures.db", "--inspect-file", "foo.json"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue