Index: third_party/twisted_8_1/twisted/test/test_shortcut.py |
diff --git a/third_party/twisted_8_1/twisted/test/test_shortcut.py b/third_party/twisted_8_1/twisted/test/test_shortcut.py |
deleted file mode 100644 |
index 6ce862c78b1ef9a8e9a7ac51e284b91dc38cbb11..0000000000000000000000000000000000000000 |
--- a/third_party/twisted_8_1/twisted/test/test_shortcut.py |
+++ /dev/null |
@@ -1,20 +0,0 @@ |
-"""Test win32 shortcut script |
-""" |
- |
-from twisted.trial import unittest |
- |
-import os |
-if os.name == 'nt': |
- |
- from twisted.python import shortcut |
- import os.path |
- import sys |
- |
- class ShortcutTest(unittest.TestCase): |
- def testCreate(self): |
- s1=shortcut.Shortcut("test_shortcut.py") |
- tempname=self.mktemp() + '.lnk' |
- s1.save(tempname) |
- self.assert_(os.path.exists(tempname)) |
- sc=shortcut.open(tempname) |
- self.assert_(sc.GetPath(0)[0].endswith('test_shortcut.py')) |