TomographicImaging / eqt

A number of templates and tools to develop Qt GUI's with Python effectively.
Other
2 stars 3 forks source link

tests: fix tempdir #128

Open casperdcl opened 8 months ago

casperdcl commented 8 months ago

test_MainWindowWithSessionManagement.py should use tempfile.TemporaryDirectory() rather than os.mkdir("Test Folder")

Otherwise interrupted tests will fail to cleanup properly, e.g. https://github.com/TomographicImaging/eqt/pull/109#issuecomment-1921194806