From 1abe0bc7ebaa9542663ce3b93490b80c214cd069 Mon Sep 17 00:00:00 2001 From: Daniel Goldman Date: Sun, 15 Sep 2024 21:34:34 -0400 Subject: [PATCH] fix test --- llamazure/tf/network_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llamazure/tf/network_test.py b/llamazure/tf/network_test.py index 438e996..b72f6d9 100644 --- a/llamazure/tf/network_test.py +++ b/llamazure/tf/network_test.py @@ -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", }, @@ -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": {}}}}}' )