Skip to content

Commit 01f5987

Browse files
test: Change Event.additionalDetails field assertion in events test (box/box-codegen#858) (#1104)
1 parent 5c9cb99 commit 01f5987

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "9334953", "specHash": "c7acada", "version": "0.1.0" }
1+
{ "engineHash": "733e376", "specHash": "fa34496", "version": "0.1.0" }

test/box_sdk_gen/test/events.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def testEventUpload():
5353
assert len(events.entries) > 0
5454
first_event: Event = events.entries[0]
5555
assert to_string(first_event.event_type) == 'UPLOAD'
56-
assert to_string(first_event.additional_details.get('hash_type')) == 'sha1'
56+
assert not to_string(first_event.additional_details.get('service_id')) == ''
5757
source: EventSource = first_event.source
5858
assert (
5959
to_string(source.item_type) == 'file' or to_string(source.item_type) == 'folder'

0 commit comments

Comments
 (0)