Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lilatomic committed Sep 16, 2024
1 parent 3ff572d commit 1abe0bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llamazure/tf/network_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def test_terraform_example(self):
"name": "acceptanceTestSecurityGroup1",
"location": "West Europe",
"resource_group_name": "example-resources",
"security_rule": [],
"security_rule": None,
"tags": {
"environment": "Production",
},
Expand Down Expand Up @@ -91,5 +91,5 @@ def test_example(self):

assert (
json.dumps(tf.render())
== '{"resource": {"azurerm_network_security_group": {"n": {"name": "n", "resource_group_name": "rg", "location": "l", "security_rule": [], "tags": {}}}}}'
== '{"resource": {"azurerm_network_security_group": {"n": {"name": "n", "resource_group_name": "rg", "location": "l", "security_rule": null, "tags": {}}}}}'
)

0 comments on commit 1abe0bc

Please sign in to comment.