Skip to content

Commit

Permalink
try 2 moving st2tests import earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
cognifloyd committed Sep 18, 2024
1 parent bc8f5d3 commit 268f129
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion st2actions/tests/unit/test_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@

from oslo_config import cfg

# This import must be early for import-time side-effects.
from st2tests import ExecutionDbTestCase

from st2common.constants import action as action_constants
from st2common.models.api.action import ActionAPI
from st2common.models.api.policy import PolicyTypeAPI, PolicyAPI
Expand All @@ -31,7 +34,6 @@
from st2common.transport.liveaction import LiveActionPublisher
from st2common.transport.publishers import CUDPublisher
from st2common.bootstrap import runnersregistrar as runners_registrar
from st2tests.base import ExecutionDbTestCase
from st2tests.fixtures.generic.fixture import PACK_NAME as PACK
from st2tests.fixturesloader import FixturesLoader
from st2tests.mocks.runners import runner
Expand Down

0 comments on commit 268f129

Please sign in to comment.