Skip to content

Commit

Permalink
code styling by black
Browse files Browse the repository at this point in the history
  • Loading branch information
justinpark committed Jan 30, 2023
1 parent a62d7f3 commit 6d14cc2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/unit_tests/datasets/dao/dao_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def test_datasource_find_by_id_skip_base_filter_not_found(
)
assert result is None


def test_datasource_find_by_ids_skip_base_filter(session_with_data: Session) -> None:
from superset.connectors.sqla.models import SqlaTable
from superset.datasets.dao import DatasetDAO
Expand All @@ -87,7 +88,10 @@ def test_datasource_find_by_ids_skip_base_filter(session_with_data: Session) ->
assert ["my_sqla_table"] == list(map(lambda x: x.table_name, result))
assert isinstance(result[0], SqlaTable)

def test_datasource_find_by_ids_skip_base_filter_not_found(session_with_data: Session) -> None:

def test_datasource_find_by_ids_skip_base_filter_not_found(
session_with_data: Session,
) -> None:
from superset.datasets.dao import DatasetDAO

result = DatasetDAO.find_by_ids(
Expand Down

0 comments on commit 6d14cc2

Please sign in to comment.