Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
9
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Open sidebar
dogtail
dogtail
Commits
c2c1ef0d
Commit
c2c1ef0d
authored
Nov 27, 2018
by
Vitezslav Humpa
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove shebangs from examples
parent
cb39d4b0
Pipeline
#48776295
canceled with stages
Changes
7
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
12 deletions
+1
-12
examples/appstartup.py
examples/appstartup.py
+1
-4
examples/filechooser-stress-test.py
examples/filechooser-stress-test.py
+0
-3
examples/gedit-test-utf8-procedural-api.py
examples/gedit-test-utf8-procedural-api.py
+0
-1
examples/gedit-test-utf8-tree-api.py
examples/gedit-test-utf8-tree-api.py
+0
-1
examples/i18n-test.py
examples/i18n-test.py
+0
-1
examples/no-help-at-all.py
examples/no-help-at-all.py
+0
-1
examples/test-events.py
examples/test-events.py
+0
-1
No files found.
examples/appstartup.py
View file @
c2c1ef0d
#!/usr/bin/env python3
import
os
import
signal
import
sys
...
...
@@ -11,7 +9,7 @@ from dogtail.tc import TCNode, TCBool
tcn
=
TCNode
()
def
appStartup
(
binary
,
roleName
=
"menu item"
):
"""Launches the given binary, then checks to see that the application
"""Launches the given binary, then checks to see that the application
started correctly by looking for a Node with the given roleName."""
pid
=
run
(
binary
)
...
...
@@ -23,4 +21,3 @@ def appStartup(binary, roleName = "menu item"):
if
__name__
==
"__main__"
:
binary
=
sys
.
argv
[
1
]
appStartup
(
binary
)
examples/filechooser-stress-test.py
View file @
c2c1ef0d
#!/usr/bin/env python
# Stress test: repeatedly open and close the filechooser dialog
from
dogtail.tree
import
*
from
dogtail.utils
import
run
from
sys
import
exit
...
...
examples/gedit-test-utf8-procedural-api.py
View file @
c2c1ef0d
#!/usr/bin/env python
# Dogtail demo script
from
dogtail.config
import
config
...
...
examples/gedit-test-utf8-tree-api.py
View file @
c2c1ef0d
#!/usr/bin/env python
# Dogtail demo script using tree.py
# FIXME: Use TC.
__author__
=
'Zack Cerza <zcerza@redhat.com'
...
...
examples/i18n-test.py
View file @
c2c1ef0d
#!/usr/bin/env python
# Dogtail demo script
__author__
=
'David Malcolm <dmalcolm@redhat.com>'
...
...
examples/no-help-at-all.py
View file @
c2c1ef0d
#!/usr/bin/env python
"""
Dogtail script for generating unhelpful help file.
...
...
examples/test-events.py
View file @
c2c1ef0d
#!/usr/bin/env python
# Dogtail demo script
# Note that this script is outdated and may cause your session to lock up until
# it is killed. It will most likely be deleted in the next release.
...
...
Yann Dirson
@ydirson
mentioned in issue
#14
·
May 01, 2020
mentioned in issue
#14
mentioned in issue #14
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment