* fix: don't remove file that shouldn't be removed, really
This commit is contained in:
@@ -92,7 +92,6 @@ class ActionsAPITestCase(testcase.TestCase):
|
|||||||
copy('tests/actionsapitests/linktoafile', 'tests/actionsapitests/adirectory', False)
|
copy('tests/actionsapitests/linktoafile', 'tests/actionsapitests/adirectory', False)
|
||||||
ourguy = 'tests/actionsapitests/%s' % os.readlink('tests/actionsapitests/linktoafile')
|
ourguy = 'tests/actionsapitests/%s' % os.readlink('tests/actionsapitests/linktoafile')
|
||||||
self.assert_(os.path.exists(ourguy))
|
self.assert_(os.path.exists(ourguy))
|
||||||
os.remove(ourguy)
|
|
||||||
|
|
||||||
copy('tests/actionsapitests/file', 'tests/actionsapitests/file-copy')
|
copy('tests/actionsapitests/file', 'tests/actionsapitests/file-copy')
|
||||||
self.assertEqual(os.path.exists('tests/actionsapitests/file-copy'), True)
|
self.assertEqual(os.path.exists('tests/actionsapitests/file-copy'), True)
|
||||||
|
|||||||
Reference in New Issue
Block a user