]> www.fi.muni.cz Git - evince.git/blobdiff - test/test3.py
Added test for slow mime type
[evince.git] / test / test3.py
diff --git a/test/test3.py b/test/test3.py
new file mode 100755 (executable)
index 0000000..adfbd9d
--- /dev/null
@@ -0,0 +1,15 @@
+#!/usr/bin/python
+
+# This test opens a password encrypted file and tries to unlock it.
+
+import os
+os.environ['LANG']='C'
+srcdir = os.environ['srcdir']
+
+from dogtail.procedural import *
+
+run('evince', arguments=' '+srcdir+'/test-mime.bin')
+
+# Close evince
+click('File', roleName='menu')
+click('Close', roleName='menu item')