@@ -101,21 +101,6 @@ def test_write_to_field_of_B_through_A(tmpdir):
101
101
decl_on_types = ['LVSA.TestEVS.Test$A' ])
102
102
103
103
104
- def test_call_overridden_method_on_A (tmpdir ):
105
- lvsa_driver = LvsaDriver (tmpdir , folder_name ).with_test_function ('call_overridden_method_on_A' )
106
- lvsa_expectation = lvsa_driver .run ()
107
-
108
- value_set_expectation = lvsa_expectation .get_value_set_for_public_static ('static_node' )
109
-
110
- value_set_expectation .check_number_of_values (4 )
111
- value_set_expectation .check_contains_dynamic_object ()
112
- value_set_expectation .check_contains_precise_evs (label_suffix = 'a' , access_path = ['.extra_node' ],
113
- decl_on_types = ['LVSA.TestEVS.Test$B' ])
114
- value_set_expectation .check_contains_per_field_evs (access_path = ['.node' ], decl_on_types = ['LVSA.TestEVS.Test$A' ])
115
- value_set_expectation .check_contains_per_field_evs (access_path = ['.extra_node' ],
116
- decl_on_types = ['LVSA.TestEVS.Test$B' ])
117
-
118
-
119
104
def test_apply_call_overridden_method_on_A_with_A (tmpdir ):
120
105
lvsa_driver = LvsaDriver (tmpdir , folder_name ).with_test_function ('apply_call_overridden_method_on_A_with_A' )
121
106
lvsa_expectation = lvsa_driver .run ()
@@ -133,8 +118,7 @@ def test_apply_call_overridden_method_on_A_with_B(tmpdir):
133
118
134
119
value_set_expectation = lvsa_expectation .get_value_set_for_public_static ('static_node' )
135
120
136
- value_set_expectation .check_number_of_values (3 )
137
- value_set_expectation .check_contains_dynamic_object ()
121
+ # Only test for what's important as CSVSA-driven-lazy-loading changes the results
138
122
value_set_expectation .check_contains_null_object ()
139
123
value_set_expectation .check_contains_root_object_evs (label_suffix = 'static_node' )
140
124
@@ -145,8 +129,7 @@ def test_apply_call_overridden_method_on_A_with_C(tmpdir):
145
129
146
130
value_set_expectation = lvsa_expectation .get_value_set_for_public_static ('static_node' )
147
131
148
- value_set_expectation .check_number_of_values (3 )
149
- value_set_expectation .check_contains_dynamic_object ()
132
+ # Only test for what's important as CSVSA-driven-lazy-loading changes the results
150
133
value_set_expectation .check_contains_null_object ()
151
134
value_set_expectation .check_contains_root_object_evs (label_suffix = 'static_node' )
152
135
@@ -179,12 +162,9 @@ def test_call_overridden_method_on_C_upcast_to_A(tmpdir):
179
162
180
163
value_set_expectation = lvsa_expectation .get_value_set_for_public_static ('static_node' )
181
164
182
- value_set_expectation . check_number_of_values ( 4 )
165
+ # Only test for what's important as CSVSA-driven-lazy-loading changes the results
183
166
value_set_expectation .check_contains_dynamic_object ()
184
167
value_set_expectation .check_contains_per_field_evs (access_path = ['.extra_node' ])
185
- value_set_expectation .check_contains_precise_evs (label_suffix = 'c' , access_path = ['.node' ],
186
- decl_on_types = ['LVSA.TestEVS.Test$A' ])
187
- value_set_expectation .check_contains_per_field_evs (access_path = ['.node' ])
188
168
189
169
190
170
def test_call_function_with_B_parameter_with_C_argument (tmpdir ):
0 commit comments