Skip to content

Commit

Permalink
#451 improve test
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Mar 4, 2022
1 parent 84bd2be commit 83e2d7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion libraries/models/test/test_helm_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from os.path import join, dirname as dn, realpath
import yaml

from cloudharness_model import HarnessMainConfig
from cloudharness_model import HarnessMainConfig, ApplicationConfig

HERE = dn(realpath(__file__))

Expand All @@ -13,3 +13,6 @@ def test_helm_values_deserialize():

assert v.domain
assert v.apps["accounts"].harness.deployment.name == "accounts"

app = ApplicationConfig.from_dict(values["apps"]["accounts"])
assert app.harness.deployment.name == "accounts"

0 comments on commit 83e2d7a

Please sign in to comment.