Skip to content

Commit 48e1634

Browse files
committed
update to test case
1 parent 0e8da77 commit 48e1634

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/integration/test_project.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -137,9 +137,8 @@ def test_attach_instructions(client, project):
137137
project.setup(editor, empty_ontology)
138138

139139
project.upsert_instructions('tests/integration/media/sample_pdf.pdf')
140-
assert json.loads(
141-
list(project.labeling_frontend_options())
142-
[-1].customization_options).get('projectInstructions') is not None
140+
141+
assert project.ontology().normalized['projectInstructions'] is not None
143142

144143
with pytest.raises(ValueError) as exc_info:
145144
project.upsert_instructions('/tmp/file.invalid_file_extension')

0 commit comments

Comments
 (0)