Skip to content

Commit

Permalink
feature: 提供 Agent 包管理后台接口 (closed TencentBlueKing#1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
ping15 committed Nov 20, 2023
1 parent 9e45576 commit 25308d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions apps/node_man/tests/test_views/test_package_manage_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
from apps.backend.tests.subscription.agent_adapter.test_adapter import (
Proxy2StepAdapterTestCase,
)
from apps.core.tag.models import Tag
from apps.node_man.handlers.meta import MetaHandler
from apps.node_man.models import GsePackages
from apps.node_man.models import GsePackages, GsePackageDesc
from apps.node_man.tests.utils import create_gse_package


Expand All @@ -24,7 +25,9 @@ def setUp(self):

@classmethod
def clear_agent_data(cls):
pass
GsePackages.objects.all().delete()
GsePackageDesc.objects.all().delete()
Tag.objects.all().delete()

def test_list(self):
# 和之前的builder.make加起来100
Expand Down

0 comments on commit 25308d6

Please sign in to comment.