'Create a simple shortcut.'

def test_create(self):

    testFilename = __file__
    baseFileName = os.path.basename(testFilename)
    s1 = shortcut.Shortcut(testFilename)
    tempname = (self.mktemp() + '.lnk')
    s1.save(tempname)
    self.assertTrue(os.path.exists(tempname))
    sc = shortcut.open(tempname)
    scPath = sc.GetPath(shell.SLGP_RAWPATH)[0]
    self.assertEqual(scPath[(- len(baseFileName)):].lower(), baseFileName.lower())
