summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/test
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-08-03 14:06:17 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-08-03 14:06:17 (GMT)
commitb4c975a3675b6475749ead798de14f85d4efec0c (patch)
tree9fa0551d1c554b0d90091e9c60acdf3e11d86095 /Mac/Lib/test
parent7a9f9557db61431fd475916ba70323badbe3d7af (diff)
downloadcpython-b4c975a3675b6475749ead798de14f85d4efec0c.zip
cpython-b4c975a3675b6475749ead798de14f85d4efec0c.tar.gz
cpython-b4c975a3675b6475749ead798de14f85d4efec0c.tar.bz2
Obsolete, uses the old non-package-based applescript suite support.
Diffstat (limited to 'Mac/Lib/test')
-rw-r--r--Mac/Lib/test/test_suite.py25
1 files changed, 0 insertions, 25 deletions
diff --git a/Mac/Lib/test/test_suite.py b/Mac/Lib/test/test_suite.py
deleted file mode 100644
index 2aa690d..0000000
--- a/Mac/Lib/test/test_suite.py
+++ /dev/null
@@ -1,25 +0,0 @@
-#
-# Test of generated AE modules.
-#
-import sys
-import macfs
-
-import aetools
-from AppleScript_Suite import AppleScript_Suite
-from Required_Suite import Required_Suite
-from Standard_Suite import Standard_Suite
-
-class ScriptableEditor(aetools.TalkTo, AppleScript_Suite, Required_Suite,
- Standard_Suite):
-
- def __init__(self):
- aetools.TalkTo.__init__(self, 'quil')
- self.activate()
-
-app = ScriptableEditor()
-rv = app.open(macfs.FSSpec(sys.argv[0]))
-print 'Opened', sys.argv[0]
-print 'Return value:', rv
-rv = app.get(aetools.Word(10, aetools.Document(1)))
-print 'Got word 10 doc 1:', rv
-sys.exit(1)