Skip to content

Commit b4b32ab

Browse files
committed
removing debug prints
1 parent 9dbbd98 commit b4b32ab

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

tests/serdesertest/test_serdeser_task_result_status.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ def test_task_result_serde(self):
6868
# 3. Serialize the TaskResult to a dictionary
6969
serialized_dict = task_result.to_dict()
7070

71-
# Print the keys to debug
72-
print(f"Keys in serialized_dict: {serialized_dict.keys()}")
73-
print(f"Keys in server_json: {self.server_json.keys()}")
7471

7572
# 4. Check field by field based on what's actually in the serialized dict
7673
# This is a more robust approach that will work even if field names change

tests/serdesertest/test_serdeser_workflow_def.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def setUp(self):
1414
def test_workflow_def_ser_deser(self):
1515
"""Test serialization and deserialization of WorkflowDef"""
1616
# Print the original JSON structure for debugging
17-
print("Original JSON structure:", json.dumps(self.server_json, indent=2))
17+
# print("Original JSON structure:", json.dumps(self.server_json, indent=2))
1818

1919
# Step 1: Deserialize JSON to WorkflowDef object
2020
# Since direct deserialization has issues with deprecated fields, we'll use the approach
@@ -32,7 +32,7 @@ def test_workflow_def_ser_deser(self):
3232
serialized_json = json.loads(serialized_json)
3333

3434
# Print the serialized structure for debugging
35-
print("Serialized JSON structure:", json.dumps(serialized_json, indent=2))
35+
# print("Serialized JSON structure:", json.dumps(serialized_json, indent=2))
3636

3737
# Step 4: Verify the serialized JSON matches the original for essential properties
3838
self._compare_json(self.server_json, serialized_json)

tests/serdesertest/test_serdeser_workflow_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def workflow_task_to_json_dict(task):
102102
self.assertEqual(workflow_task.join_on, fixed_json_dict["joinOn"])
103103

104104
# Print summary of fields in fixed JSON dict
105-
print("Fields in fixed JSON dict:", fixed_json_dict.keys())
105+
# print("Fields in fixed JSON dict:", fixed_json_dict.keys())
106106

107107
# Demonstrate this approach works for a simple test case
108108
test_task = WorkflowTask(

0 commit comments

Comments
 (0)