Visitar URL original
chore: add python connector gitlab ci (rd-public/tsdb!735) · taosdata/taos-connector-python@8d92796 · GitHub
Skip to content

Commit 8d92796

Browse files
qevolgfeici02
authored andcommitted
chore: add python connector gitlab ci (rd-public/tsdb!735)
1 parent 2e4a5d3 commit 8d92796

4 files changed

Lines changed: 14 additions & 8 deletions

File tree

‎taos-ws-py/Cargo.lock‎

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎taos-ws-py/deny.toml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
[advisories]
22
unmaintained = "none"
3-
ignore = ["RUSTSEC-2025-0020"]
3+
ignore = [
4+
"RUSTSEC-2025-0020",
5+
"RUSTSEC-2026-0177",
6+
]
47

58
[licenses]
69
allow = [
@@ -31,7 +34,6 @@ wildcards = "deny"
3134
unknown-registry = "deny"
3235
unknown-git = "deny"
3336
allow-git = [
34-
"https://github.com/taosdata/taos-connector-rust.git",
3537
"https://github.com/taosdata/tokio-tungstenite.git",
3638
"https://github.com/taosdata/tungstenite-rs.git",
3739
"https://github.com/taosdata/ring.git",

‎tests/test_rest_connection.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import datetime
22
import taosrest
33
import os
4+
import pytest
45
import utils
56
from decorators import check_env
67
from dotenv import load_dotenv
@@ -245,6 +246,7 @@ def test_tzinfo_timezone_with_req_id():
245246
# tzinfo=datetime.timezone(datetime.timedelta(seconds=28800), 'CST')), -100, -200.3]
246247

247248

249+
@pytest.mark.skip(reason="connects to public TDengine Cloud gateway; unreachable from internal CI runners")
248250
def test_wrong_token():
249251
try:
250252
conn = taosrest.connect(url="https://gw.us-east.azure.cloud.tdengine.com", token="wrong_token")
@@ -254,6 +256,7 @@ def test_wrong_token():
254256
assert e.status_code == 401
255257

256258

259+
@pytest.mark.skip(reason="connects to public TDengine Cloud gateway; unreachable from internal CI runners")
257260
def test_token():
258261
conn = taosrest.connect(
259262
url="https://gw.us-west-2.aws.cloud.tdengine.com", token="f158c322e165e82156f50ba4aa0f3e01081b38d7"

‎tests/test_tmq.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def test_tmq_with_token():
526526
def test_tmq_with_invalid_token():
527527
pre_test_tmq("")
528528
try:
529-
with pytest.raises(TmqError, match=r"init tscObj with token failed"):
529+
with pytest.raises(TmqError, match=r"Invalid token"):
530530
Consumer(
531531
{
532532
"group.id": "token_test_group",

0 commit comments

Comments
 (0)