Skip to content

Commit 03f7860

Browse files
committed
refactoring
1 parent 60b8f6b commit 03f7860

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

utils/oracle/test_subject_criteria_dev.py

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@
2626
from mock_selection_builder import MockSelectionBuilder
2727
from classes.subject_selection_criteria_key import SubjectSelectionCriteriaKey
2828

29-
# === Example usage ===
30-
# Replace the examples below with your tests for the method you want to test
31-
3229

3330
# Helper for mock sequencing
3431
def make_builder(key, value, index=0, comparator="="):
@@ -40,14 +37,16 @@ def make_builder(key, value, index=0, comparator="="):
4037
b.criteria_comparator = comparator
4138
return b
4239

40+
# === Example usage ===
41+
# Replace the examples below with your tests for the method you want to test
4342

44-
# === Test: DEMOGRAPHICS_TEMPORARY_ADDRESS (yes) ===
45-
b = make_builder(SubjectSelectionCriteriaKey.DEMOGRAPHICS_TEMPORARY_ADDRESS, "yes")
46-
b._add_criteria_has_temporary_address()
47-
print(b.dump_sql())
43+
# # === Test: DEMOGRAPHICS_TEMPORARY_ADDRESS (yes) ===
44+
# b = make_builder(SubjectSelectionCriteriaKey.DEMOGRAPHICS_TEMPORARY_ADDRESS, "yes")
45+
# b._add_criteria_has_temporary_address()
46+
# print(b.dump_sql())
4847

49-
# === Test: DEMOGRAPHICS_TEMPORARY_ADDRESS (no) ===
50-
b = make_builder(SubjectSelectionCriteriaKey.DEMOGRAPHICS_TEMPORARY_ADDRESS, "no")
51-
b._add_criteria_has_temporary_address()
52-
print("=== DEMOGRAPHICS_TEMPORARY_ADDRESS (no) ===")
53-
print(b.dump_sql(), end="\n\n")
48+
# # === Test: DEMOGRAPHICS_TEMPORARY_ADDRESS (no) ===
49+
# b = make_builder(SubjectSelectionCriteriaKey.DEMOGRAPHICS_TEMPORARY_ADDRESS, "no")
50+
# b._add_criteria_has_temporary_address()
51+
# print("=== DEMOGRAPHICS_TEMPORARY_ADDRESS (no) ===")
52+
# print(b.dump_sql(), end="\n\n")

0 commit comments

Comments
 (0)