Skip to content

Commit 4d7a338

Browse files
author
owen-jones-diffblue
authored
Merge pull request diffblue#372 from diffblue/owen-jones-diffblue/correct-test-and-mark-xfail
[SEC-202] Correct test and mark xfail
2 parents 6985dcb + cbdc3ab commit 4d7a338

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

regression/LVSA/TestPreciseAccessPaths/test_precise_access_paths.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,18 @@ def test_apply_set_field_of_external_object(tmpdir):
7373
is_initializer=True)
7474

7575

76+
@pytest.mark.xfail(strict=True) # SEC-202
7677
def test_conditionally_set_field_of_external_object(tmpdir):
7778
lvsa_driver = LvsaDriver(tmpdir, folder_name).with_test_function('conditionally_set_field_of_external_object')
7879
lvsa_expectation = lvsa_driver.run()
7980

8081
value_set_expectation = lvsa_expectation.get_value_set_for_precise_evs(
8182
parameter_name='parameter_a', suffix='.object')
8283

83-
value_set_expectation.check_number_of_values(1)
84+
value_set_expectation.check_number_of_values(2)
8485
value_set_expectation.check_contains_root_object_evs(label_suffix='parameter_object')
86+
value_set_expectation.check_contains_precise_evs(label_suffix='parameter_a', access_path=['.object'],
87+
is_initializer=True)
8588

8689

8790
def test_apply_conditionally_set_field_of_external_object(tmpdir):

0 commit comments

Comments
 (0)