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 59bf39d commit 22f942c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/node_man/tests/test_views/test_package_manage_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ def setUp(self):
with self.ARTIFACT_BUILDER_CLASS(initial_artifact_path=self.ARCHIVE_PATH, tags=["tag1", "tag2"]) as builder:
builder.make()

gse_package = GsePackages.objects.first()
gse_package.created_at = "admin"
gse_package.save()

@classmethod
def clear_agent_data(cls):
GsePackages.objects.all().delete()
Expand Down

0 comments on commit 22f942c

Please sign in to comment.