summaryrefslogtreecommitdiff
path: root/test/test3.py
blob: 4b7318194287792dad5e4f81e9209b8a09726e6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/python3

# This test opens a file with wrong extenstion.

import os
os.environ['LANG']='C'
srcdir = os.environ['srcdir']

from dogtail.procedural import *

run('atril', arguments=' '+srcdir+'/test-mime.bin')

# Close atril
focus.application('atril')
click('File', roleName='menu')
click('Close', roleName='menu item')