From 24ec58233c213003ae14f8364705b418379f79b3 Mon Sep 17 00:00:00 2001 From: ponty Date: Sat, 16 Feb 2013 18:27:39 +0100 Subject: [PATCH] test --- tests/test_examples.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/test_examples.py 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)