Skip to content

Commit

Permalink
Fix tests written by someone else ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianburth committed Oct 25, 2024
1 parent dda07a8 commit 95c1237
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/create_comp.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,13 @@ def verify_chart(self, chart: cm.Resource):
assert chart.access.referenceName == f'{self.provider}/echo/echoserver:0.1.0'

def verify_chart_remote(self, chart: cm.Resource, image_reference: str):
print(chart.access.imageReference)
assert chart.name == 'chart'
assert chart.type == cm.ArtefactType.HELM_CHART
assert chart.relation == cm.ResourceRelation.LOCAL
assert chart.version == '1.0.0'
assert chart.access.type == cm.AccessType.OCI_REGISTRY
assert type(chart.access) == cm.OciAccess
assert chart.access.imageReference == image_reference
assert image_reference in chart.access.imageReference

def verify_image(self, image: cm.Resource):
assert image.name == 'image'
Expand Down

0 comments on commit 95c1237

Please sign in to comment.