diff --git a/tests/test_examples.py b/tests/test_examples.py new file mode 100644 index 0000000..07cdea5 --- /dev/null +++ b/tests/test_examples.py @@ -0,0 +1,16 @@ +from easyprocess import EasyProcess +from pyvirtualdisplay.display import Display +import logging +import time + + +log = logging.getLogger(__name__) + + +VISIBLE = 0 + + +def test_screenshot3(): + with Display(visible=VISIBLE): + with EasyProcess('python -m pyvirtualdisplay.examples.screenshot3'): + time.sleep(1)