Skip to content

Commit 27e7dde

Browse files
committed
add unit test clarification
1 parent a15d970 commit 27e7dde

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

python3/tests/test_raygunmsgs.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,14 @@ def test_remove_local_too_large(self):
236236
{"enforce_payload_size_limit": True}
237237
)
238238

239+
# Local variable is present in the original message
240+
self.assertEqual(
241+
self.find_local_variable(msg.stackTrace, "localReference"),
242+
localReference,
243+
)
244+
245+
# Local variable is removed in the cloned message
246+
# due to the payload size limit
239247
self.assertEqual(
240248
self.find_local_variable(msg_clone.stackTrace, "localReference"),
241249
"Removed",

0 commit comments

Comments
 (0)