1
"""Test win32 shortcut script
4
from twisted.trial import unittest
9
from twisted.python import shortcut
13
class ShortcutTest(unittest.TestCase):
15
s1=shortcut.Shortcut("test_shortcut.py")
16
tempname=self.mktemp() + '.lnk'
18
self.assert_(os.path.exists(tempname))
19
sc=shortcut.open(tempname)
20
self.assert_(sc.GetPath(0)[0].endswith('test_shortcut.py'))