Skip to content

Commit 6a7d9e9

Browse files
committed
debug
1 parent acfbf25 commit 6a7d9e9

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

test/fixtures/networking_firewalls_123.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"updated":"2018-01-01T00:01:01",
66
"status":"enabled",
77
"rules":{
8+
"version":2,
9+
"fingerprint":"4ef67a29",
810
"outbound":[],
911
"outbound_policy":"DROP",
1012
"inbound":[],
11-
"inbound_policy":"DROP",
12-
"version":2,
13-
"fingerprint":"4ef67a29"
13+
"inbound_policy":"DROP"
1414
},
1515
"tags":[]
16-
}
16+
}

test/unit/fixtures.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def get_fixture(self, url):
2020
"""
2121
Returns the test fixture data loaded at the given URL
2222
"""
23+
print(f"Getting fixture for URL: {url}")
2324
return self.fixtures[url]
2425

2526
def _load_fixtures(self):
@@ -49,3 +50,4 @@ def _load_fixtures(self):
4950
for obj in data["data"]:
5051
if "id" in obj: # tags, obj-buckets don't have ids
5152
self.fixtures[fixture_url + "/" + str(obj["id"])] = obj
53+
print(f"Loaded fixtures for URLs: {list(self.fixtures.keys())}")

0 commit comments

Comments
 (0)