Recently merged test hangs on `input()` call
Closed this issue · 1 comments
jacobtylerwalls commented
On CI, we're getting an EOFError
emanating from an input()
call. Locally the situation is worse, it just hangs.
To reproduce:
python manage.py test tests.search.search_export_tests --settings="tests.test_settings"
Result: hangs:
Stacktrace from CTRL-C'ing:
File "/Users/jwalls/prj/arches/tests/search/search_export_tests.py", line 66, in setUpTestData
cls.ensure_test_resource_models_are_loaded()
File "/Users/jwalls/prj/arches/tests/base_test.py", line 110, in ensure_test_resource_models_are_loaded
errs, importer = ResourceGraphImporter(
^^^^^^^^^^^^^^^^^^^^^^
File "/Users/jwalls/prj/arches/arches/app/utils/data_management/resource_graphs/importer.py", line 152, in import_graph
overwrite_input = input(
cc/ @whatisgalen @apeters
jacobtylerwalls commented
This might have to do with the way graph fixtures are now loaded per test case in ArchesTestCase. I have a fix in progress for #10719 which probably will take care of this.