Skip to content

Commit

Permalink
refactor:update conn_clickhouse unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Aries-ckt committed Dec 21, 2023
1 parent bba2941 commit 8d8af98
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/intetration_tests/datasource/test_conn_clickhouse.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
(102, 'Sort your data based on your commonly-used queries', today(), 2.718 ),
(101, 'Granules are the smallest chunks of data read', now() + 5, 3.14159 )
"""
from typing import Dict, List

import pytest

Expand Down Expand Up @@ -50,7 +51,9 @@ def test_get_table_names(db):


def test_get_indexes(db):
assert db.get_indexes("") == ""
assert [index.get("name") for index in db.get_indexes("my_first_table")][
0
] == "primary_key"


def test_get_fields(db):
Expand Down

0 comments on commit 8d8af98

Please sign in to comment.