Skip to content

Commit d6a8ffc

Browse files
committed
[test:fix] Fixed audit search assertions
1 parent 8a71c5a commit d6a8ffc

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

pyatlan/test_utils/base_vcr.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,5 +267,9 @@ def vcr_cassette_dir(self, request):
267267
"""
268268
# Set self._CASSETTES_DIR or use the default directory path based on the test module name.
269269
# V9 tests (module name starting with tests_v9) use tests_v9/vcr_cassettes; legacy use tests/vcr_cassettes.
270-
root = "tests_v9/vcr_cassettes" if request.module.__name__.startswith("tests_v9") else "tests/vcr_cassettes"
270+
root = (
271+
"tests_v9/vcr_cassettes"
272+
if request.module.__name__.startswith("tests_v9")
273+
else "tests/vcr_cassettes"
274+
)
271275
return self._CASSETTES_DIR or os.path.join(root, request.module.__name__)

tests/unit/data/search_responses/audit_search_paging.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"totalCount": 1,
33
"entityAudits": [
44
{
5-
"entity_qualified_name": "sample_entity_1",
6-
"type_name": "AtlasGlossaryTerm",
7-
"entity_id": "guid_1",
5+
"entityQualifiedName": "sample_entity_1",
6+
"typeName": "AtlasGlossaryTerm",
7+
"entityId": "guid_1",
88
"timestamp": 1733491479782,
99
"created": 1733491480576,
1010
"user": "user1",

0 commit comments

Comments
 (0)