mirror of https://github.com/apache/superset.git
test: Reduce flaky integration tests triggered by `test_get_tag` (#25958)
This commit is contained in:
parent
b430b5a172
commit
c3249dd97d
|
@ -17,10 +17,12 @@
|
|||
# isort:skip_file
|
||||
"""Unit tests for Superset"""
|
||||
import json
|
||||
from datetime import datetime
|
||||
|
||||
from flask import g
|
||||
import pytest
|
||||
import prison
|
||||
from freezegun import freeze_time
|
||||
from sqlalchemy.sql import func
|
||||
from sqlalchemy import and_
|
||||
from superset.models.dashboard import Dashboard
|
||||
|
@ -121,6 +123,7 @@ class TestTagApi(SupersetTestCase):
|
|||
"""
|
||||
Query API: Test get query
|
||||
"""
|
||||
with freeze_time(datetime.now()):
|
||||
tag = self.insert_tag(
|
||||
name="test get tag",
|
||||
tag_type="custom",
|
||||
|
|
Loading…
Reference in New Issue