File tree Expand file tree Collapse file tree
tests/unit/synapseclient/extensions Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -853,9 +853,6 @@ def test_get_conditional_properties_multiple_watched_properties(
853853 This test covers a bug where the 'value' variable was being mutated inside
854854 the inner loop when converting to display names.
855855
856- On the first iteration, `value` is converted from class label to display name.
857- On subsequent iterations, the code tries to look up the display name in the graph,
858- which fails with KeyError because graph nodes are keyed by class labels.
859856 """
860857 # GIVEN a GraphTraversalState instance where
861858 # - CancerType has a reverse dependency of FamilyHistory
@@ -871,7 +868,7 @@ def test_get_conditional_properties_multiple_watched_properties(
871868 gts .move_to_next_node ()
872869 result = gts .get_conditional_properties ()
873870 assert len (result ) == 2
874- assert ("Diagnosis " , "Family History" ) in result
871+ assert ("Year of Birth " , "Family History" ) in result
875872 assert ("Sex" , "Family History" ) in result
876873
877874 def test_update_valid_values_map (self , dmge : DataModelGraphExplorer ) -> None :
You can’t perform that action at this time.
0 commit comments