@@ -691,9 +691,17 @@ class TestRemoveConnectorsOfMissingPlaceholders:
691691 # No connector word to remove (just space) — stays as-is
692692 ("AREA DEGREE" , {"DEGREE" }, "AREA DEGREE" ),
693693 # Formatting preserved, only connector word removed
694- ("**INSTITUTION**, DEGREE in AREA -- LOCATION" , {"DEGREE" }, "**INSTITUTION**, DEGREE AREA -- LOCATION" ),
694+ (
695+ "**INSTITUTION**, DEGREE in AREA -- LOCATION" ,
696+ {"DEGREE" },
697+ "**INSTITUTION**, DEGREE AREA -- LOCATION" ,
698+ ),
695699 # Connector "at" removed between JOB_TITLE and COMPANY
696- ("**JOB_TITLE** at COMPANY_NAME" , {"COMPANY_NAME" }, "**JOB_TITLE** COMPANY_NAME" ),
700+ (
701+ "**JOB_TITLE** at COMPANY_NAME" ,
702+ {"COMPANY_NAME" },
703+ "**JOB_TITLE** COMPANY_NAME" ,
704+ ),
697705 # No connector between placeholders separated by punctuation only
698706 ("NAME, LOCATION" , {"LOCATION" }, "NAME, LOCATION" ),
699707 # Hindi connector removed
@@ -721,7 +729,9 @@ def test_no_connector_word_when_degree_is_none(self):
721729 entry ,
722730 templates = Templates (
723731 education_entry = EducationEntryOptions (
724- main_column = "**INSTITUTION**, DEGREE_WITH_AREA\n SUMMARY\n HIGHLIGHTS" ,
732+ main_column = (
733+ "**INSTITUTION**, DEGREE_WITH_AREA\n SUMMARY\n HIGHLIGHTS"
734+ ),
725735 degree_column = None ,
726736 )
727737 ),
@@ -745,7 +755,9 @@ def test_no_connector_word_in_french_when_degree_is_none(self):
745755 entry ,
746756 templates = Templates (
747757 education_entry = EducationEntryOptions (
748- main_column = "**INSTITUTION**, DEGREE_WITH_AREA\n SUMMARY\n HIGHLIGHTS" ,
758+ main_column = (
759+ "**INSTITUTION**, DEGREE_WITH_AREA\n SUMMARY\n HIGHLIGHTS"
760+ ),
749761 degree_column = None ,
750762 )
751763 ),
@@ -770,7 +782,9 @@ def test_no_connector_word_when_area_is_empty(self):
770782 entry ,
771783 templates = Templates (
772784 education_entry = EducationEntryOptions (
773- main_column = "**INSTITUTION**, DEGREE_WITH_AREA\n SUMMARY\n HIGHLIGHTS" ,
785+ main_column = (
786+ "**INSTITUTION**, DEGREE_WITH_AREA\n SUMMARY\n HIGHLIGHTS"
787+ ),
774788 degree_column = None ,
775789 )
776790 ),
0 commit comments