Skip to content

Commit 5bc99cb

Browse files
NRL-1215 Fix remove extra prints
1 parent 5dbbd92 commit 5bc99cb

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

layer/nrlf/core/tests/test_json_duplicate_checker.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -283,20 +283,12 @@ def test_parametrized_nested_arrays(self):
283283
for depth in range(1, 11): # Test depths 1 through 10
284284
with self.subTest(depth=depth):
285285
json_content = self.generate_nested_json(depth)
286-
print(f"\n=== Testing depth {depth} ===")
287-
print("Generated JSON:")
288-
print(json_content)
289286

290287
duplicates, paths = check_duplicate_keys(json_content)
291288

292289
expected_duplicates = self.get_expected_duplicates(depth)
293290
expected_paths = self.get_expected_paths(depth)
294291

295-
print("\nActual duplicates:", duplicates)
296-
print("Expected duplicates:", expected_duplicates)
297-
print("\nActual paths:", paths)
298-
print("Expected paths:", expected_paths)
299-
300292
self.assertEqual(
301293
sorted(duplicates),
302294
sorted(expected_duplicates),
@@ -307,7 +299,6 @@ def test_parametrized_nested_arrays(self):
307299
sorted(expected_paths),
308300
f"Failed for depth {depth} - paths mismatch",
309301
)
310-
print("=== Test passed for depth", depth, "===\n")
311302

312303
def test_array_edge_case_duplicate(self):
313304
json_content = """

tests/features/steps/2_request.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ def update_post_body_step(context: Context, section: str, pointer_id: str):
149149
doc_ref[section] = "placeholder"
150150
doc_ref_text = json.dumps(doc_ref)
151151
doc_ref_text = doc_ref_text.replace('"placeholder"', context.text)
152-
print(doc_ref_text)
153152

154153
producer_client = producer_client_from_context(context, "TSTCUS")
155154
context.response = producer_client.update_text(doc_ref_text, pointer_id)

0 commit comments

Comments
 (0)