Skip to content

Commit

Permalink
fix lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Eyal-Danieli committed May 21, 2024
1 parent a3cf4db commit b610689
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions integration/test_tdengine.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

url = os.getenv("TDENGINE_URL")


@pytest.fixture()
def tdengine():
db_name = "storey"
Expand Down Expand Up @@ -48,7 +47,7 @@ def tdengine():


@pytest.mark.parametrize("table_col", [None, "$key", "table"])
@pytest.mark.skipif(not url and not url.startswith("taosws"), reason="Missing TDEngine URL")
@pytest.mark.skipif(url is None or not url.startswith("taosws"), reason="Missing Valid TDEngine URL")
def test_tdengine_target(tdengine, table_col):
connection, url, db_name, supertable_name, db_prefix = tdengine
time_format = "%d/%m/%y %H:%M:%S UTC%z"
Expand Down
1 change: 0 additions & 1 deletion storey/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,6 @@ def __init__(
self._url = url
self._database = database


def _init(self):
import taosws

Expand Down

0 comments on commit b610689

Please sign in to comment.