From 5b2723eec532bf3371b992d14af93fe38969399b Mon Sep 17 00:00:00 2001 From: Subhash Bhushan Date: Tue, 22 Sep 2020 09:23:35 -0700 Subject: [PATCH] Tox check fixes --- .../model/sqlalchemy_model/postgresql/test_array_datatype.py | 3 +-- .../model/sqlalchemy_model/postgresql/test_json_datatype.py | 5 ++--- .../impl/model/sqlalchemy_model/sqlite/test_json_datatype.py | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/impl/model/sqlalchemy_model/postgresql/test_array_datatype.py b/tests/impl/model/sqlalchemy_model/postgresql/test_array_datatype.py index 7fd6d03d..f32b0e26 100644 --- a/tests/impl/model/sqlalchemy_model/postgresql/test_array_datatype.py +++ b/tests/impl/model/sqlalchemy_model/postgresql/test_array_datatype.py @@ -17,9 +17,8 @@ List, String, ) -from sqlalchemy import types as sa_types - from protean.globals import current_domain +from sqlalchemy import types as sa_types class ArrayUser(BaseAggregate): diff --git a/tests/impl/model/sqlalchemy_model/postgresql/test_json_datatype.py b/tests/impl/model/sqlalchemy_model/postgresql/test_json_datatype.py index 8f2e7c0a..b9cc6c1d 100644 --- a/tests/impl/model/sqlalchemy_model/postgresql/test_json_datatype.py +++ b/tests/impl/model/sqlalchemy_model/postgresql/test_json_datatype.py @@ -5,10 +5,9 @@ import pytest from protean.core.aggregate import BaseAggregate -from protean.core.field.basic import Dict, DateTime, String -from sqlalchemy import types as sa_types - +from protean.core.field.basic import DateTime, Dict, String from protean.globals import current_domain +from sqlalchemy import types as sa_types class Event(BaseAggregate): diff --git a/tests/impl/model/sqlalchemy_model/sqlite/test_json_datatype.py b/tests/impl/model/sqlalchemy_model/sqlite/test_json_datatype.py index dd1c5563..16310d00 100644 --- a/tests/impl/model/sqlalchemy_model/sqlite/test_json_datatype.py +++ b/tests/impl/model/sqlalchemy_model/sqlite/test_json_datatype.py @@ -5,7 +5,7 @@ import pytest from protean.core.aggregate import BaseAggregate -from protean.core.field.basic import Dict, DateTime, String +from protean.core.field.basic import DateTime, Dict, String from sqlalchemy import types as sa_types