Skip to content

Commit

Permalink
feat: 提供 Agent 包管理后台基础接口 (closed #1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
ping15 committed Jan 16, 2025
1 parent d8b59fe commit 1dbe246
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/backend/tests/view/test_get_gse_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def setUpTestData(cls):
host_model_data = copy.deepcopy(common_unit.host.HOST_MODEL_DATA)
cls.host = models.Host.objects.create(**host_model_data)
models.AccessPoint.objects.all().update(gse_version=cls.GSE_VERSION)
models.GsePackageDesc.objects.create(project="gse_agent", description="", category="official")
models.GsePackageDesc.objects.update_or_create(project="gse_agent", description="", category="official")
# 创建订阅相关数据
sub_inst_data = basic.remove_keys_from_dict(
origin_data=common_unit.subscription.SUB_INST_RECORD_MODEL_DATA, keys=["id"]
Expand Down

0 comments on commit 1dbe246

Please sign in to comment.