codestyle: remove unhelpful type hints
This commit is contained in:
parent
aecd10115e
commit
1fdf5cb1d3
1 changed files with 2 additions and 2 deletions
4
tests.py
4
tests.py
|
|
@ -1,7 +1,7 @@
|
||||||
from teilchensammler_cli.database import create_db_and_tables
|
from teilchensammler_cli.database import create_db_and_tables
|
||||||
from sqlalchemy.sql import text
|
from sqlalchemy.sql import text
|
||||||
import uuid
|
import uuid
|
||||||
from typing import Generator, Sequence
|
from typing import Generator
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from sqlalchemy import Engine
|
from sqlalchemy import Engine
|
||||||
|
|
@ -147,7 +147,7 @@ def teilchen_in_db(app_db: Engine) -> Generator[Teilchen]:
|
||||||
|
|
||||||
|
|
||||||
async def test_loadinitialdata_returns_expected_data(app_db: Engine, db_teilchen: Teilchen):
|
async def test_loadinitialdata_returns_expected_data(app_db: Engine, db_teilchen: Teilchen):
|
||||||
all_data: Sequence[tuple] = await load_initial_data(app_db)
|
all_data = await load_initial_data(app_db)
|
||||||
assert len(all_data) == 1
|
assert len(all_data) == 1
|
||||||
|
|
||||||
fetched_data: tuple = all_data[0]
|
fetched_data: tuple = all_data[0]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue