[Zope-CMF] running unittests
Yuppie
schubbe@web.de
Tue, 19 Nov 2002 20:57:42 +0100
Hi!
I'm trying to run all_cmf_tests on my windows machine and get a lot of
errors like these:
======================================================================
ERROR: test_DirectoryViewExists
(Products.CMFCore.tests.test_DirectoryView.DirectoryViewTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Programme\Zope260\lib\python\Products\CMFCore\tests\base\testcase.py",
line 116, in tearDown
rmtree(self.tempname)
File "C:\Programme\Zope260\bin\lib\shutil.py", line 128, in rmtree
raise exc[0], (exc[1][0], exc[1][1] + ' removing '+cmd[1])
OSError: [Errno 13] Permission denied removing
c:\windows\TEMP\~-361425-1\fake_skins\fake_skin\testPT.pt
======================================================================
ERROR: Check if DirectoryView method works
----------------------------------------------------------------------
Traceback (most recent call last):
File
"C:\Programme\Zope260\lib\python\Products\CMFCore\tests\base\testcase.py",
line 116, in tearDown
rmtree(self.tempname)
File "C:\Programme\Zope260\bin\lib\shutil.py", line 128, in rmtree
raise exc[0], (exc[1][0], exc[1][1] + ' removing '+cmd[1])
OSError: [Errno 13] Permission denied removing
c:\windows\TEMP\~-361425-2\fake_skins\fake_skin\testPT.pt
Looking at c:\windows\TEMP\, all these files are write protected. Any
ideas what I'm doing wrong? Why aren't they unlocked before tearDown?
TIA,
Yuppie