Don't open new windows when running the unittests
@aleb
Submitted by Alex Băluț
Description
When running the unittests like this, one can see new windows being opened:
(ptv-flatpak) $ time PITIVI_DEBUG=0 nose2 tests -v
They are closed at the end, but it's better for those not to appear. This can be obtained by setting the DISPLAY
env var in tests/common.py
accordingly.
When running the tests with gst-validate-launcher, the DISPLAY
env var is already set to accomplish this. We need to figure out what value it has and use the same.
$ gst-validate-launcher tests/ptv_testsuite.py -t tests
Edited by Alexandru Băluț