Skip to content

Commit

Permalink
Mimor change in test
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Feb 20, 2024
1 parent 68fb785 commit 1d7b4fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/files/tosca_k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ imports:
description: TOSCA test for K8s

metadata:
# Enable to set the K8s namespace for this deployment
namespace: some_namespace
infra_name: some_infra

Expand Down Expand Up @@ -45,7 +46,6 @@ topology_template:
my_image:
file: grycap/im
type: tosca.artifacts.Deployment.Image.Container.Docker
repository: docker_hub

# The properties of the runtime to host the container
im_runtime:
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Tosca.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ def test_tosca_k8s(self):
self.assertEqual(conf.recipes, None)

node = radl.get_system_by_name('im_container')
self.assertEqual(node.getValue("disk.0.image.url"), "docker://docker.io/grycap/im")
self.assertEqual(node.getValue("disk.0.image.url"), "docker://grycap/im")
net = radl.get_network_by_id('im_container_pub')
self.assertEqual(net.getValue("outports"), '30880/tcp-8800/tcp')
self.assertEqual(net.getValue("outbound"), 'yes')
Expand Down

0 comments on commit 1d7b4fe

Please sign in to comment.