#14807: fix bb failure due to symlink test relying on hard-coded permissions

This commit is contained in:
Giampaolo Rodola' 2012-05-15 22:20:10 +02:00
parent 0fb41b56ea
commit b28df76ee2
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ class TestFilemode(unittest.TestCase):
@unittest.skipUnless(hasattr(os, 'symlink'), 'os.symlink not available')
def test_link(self):
os.symlink(os.getcwd(), TESTFN)
self.assertEqual(get_mode(), 'lrwxrwxrwx')
self.assertEqual(get_mode()[0], 'l')
@unittest.skipUnless(hasattr(os, 'mkfifo'), 'os.mkfifo not available')
def test_fifo(self):