Skip to content

Commit 3127a45

Browse files
test fix
1 parent 009cdd9 commit 3127a45

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tools/tests/automation_functional_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ def test_write_mentors_skip_zero_rows(monkeypatch):
2020
run_automation()
2121

2222
result = read_yml_file(tmp_filename)
23-
assert len(result) == 3, f"Expected to write 3 mentors but added {len(result)}"
23+
assert len(result) == 2, f"Expected to write 2 mentors but added {len(result)}"
2424
assert MENTOR_2 == result[0]['name'], f"Expected content to be {MENTOR_2} but got '{result[0]['name']}'"
2525
assert MENTOR_3 == result[1]['name'], f"Expected content to be {MENTOR_3} but got '{result[1]['name']}'"
26-
assert MENTOR_4 == result[2]['name'], f"Expected content to be {MENTOR_4} but got '{result[2]['name']}'"
2726

2827
# Clean up the temporary file
2928
os.remove(tmp_filename)

0 commit comments

Comments
 (0)