Hi,

Apologies firstly - Im a newbie to Zope.

I believe I installed Python and Zope successfully and created an instance.

I attempted to run the test packs i.e:
python d:\zope\instance\bin\test --testzope
and noted failures.

Does this indicate that I have a flawed install? and is it unwise to continue 
to use it?

Test outputs appended below....

Thanks
Alan


D:\PYTHON\PYTHON24>python d:\zope\instance\bin\test --testzope
Running unit tests:


Failure in test D:\PYTHON\PYTHON24\Lib\site-packages\zope\testing\testrunner-cov
erage.txt
Failed doctest test for testrunner-coverage.txt
  File "D:\PYTHON\PYTHON24\Lib\site-packages\zope\testing\testrunner-coverage.tx
t", line 0

----------------------------------------------------------------------
File "D:\PYTHON\PYTHON24\Lib\site-packages\zope\testing\testrunner-coverage.txt"
, line 20, in testrunner-coverage.txt
Failed example:
    testrunner.run(defaults)
Expected:
    Running unit tests:
      Ran 192 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer1 tests:
      Set up samplelayers.Layer1 in N.NNN seconds.
      Ran 9 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer11 tests:
      Set up samplelayers.Layer11 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer111 tests:
      Set up samplelayers.Layerx in N.NNN seconds.
      Set up samplelayers.Layer111 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer112 tests:
      Tear down samplelayers.Layer111 in N.NNN seconds.
      Set up samplelayers.Layer112 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer12 tests:
      Tear down samplelayers.Layer112 in N.NNN seconds.
      Tear down samplelayers.Layerx in N.NNN seconds.
      Tear down samplelayers.Layer11 in N.NNN seconds.
      Set up samplelayers.Layer12 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer121 tests:
      Set up samplelayers.Layer121 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer122 tests:
      Tear down samplelayers.Layer121 in N.NNN seconds.
      Set up samplelayers.Layer122 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Tearing down left over layers:
      Tear down samplelayers.Layer122 in N.NNN seconds.
      Tear down samplelayers.Layer12 in N.NNN seconds.
      Tear down samplelayers.Layer1 in N.NNN seconds.
    Total: 405 tests, 0 failures, 0 errors
    lines   cov%   module   (path)
     testrunner-ex/sample1/sample11/sampletests.py)
     testrunner-ex/sample1/sample13/sampletests.py)
     testrunner-ex/sample1/sampletests/test1.py)
     testrunner-ex/sample1/sampletests/test11.py)
     testrunner-ex/sample1/sampletests/test111.py)
     testrunner-ex/sample1/sampletests/test112.py)
     testrunner-ex/sample1/sampletests/test12.py)
     testrunner-ex/sample1/sampletests/test121.py)
     testrunner-ex/sample1/sampletests/test122.py)
     testrunner-ex/sample1/sampletests/test_one.py)
     testrunner-ex/sample1/sampletestsf.py)
     testrunner-ex/sample2/sample21/sampletests.py)
     testrunner-ex/sample2/sampletests/test_1.py)
     testrunner-ex/sample2/sampletests/testone.py)
     testrunner-ex/sample3/sampletests.py)
     testrunner-ex/samplelayers.py)
     testrunner-ex/sampletests/test1.py)
     testrunner-ex/sampletests/test11.py)
     testrunner-ex/sampletests/test111.py)
     testrunner-ex/sampletests/test112.py)
     testrunner-ex/sampletests/test12.py)
     testrunner-ex/sampletests/test121.py)
     testrunner-ex/sampletests/test122.py)
     testrunner-ex/sampletests/test_one.py)
     testrunner-ex/sampletestsf.py)
    False
Got:
    Running unit tests:
      Ran 192 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer1 tests:
      Set up samplelayers.Layer1 in N.NNN seconds.
      Ran 9 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer11 tests:
      Set up samplelayers.Layer11 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer111 tests:
      Set up samplelayers.Layerx in N.NNN seconds.
      Set up samplelayers.Layer111 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer112 tests:
      Tear down samplelayers.Layer111 in N.NNN seconds.
      Set up samplelayers.Layer112 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer12 tests:
      Tear down samplelayers.Layer112 in N.NNN seconds.
      Tear down samplelayers.Layerx in N.NNN seconds.
      Tear down samplelayers.Layer11 in N.NNN seconds.
      Set up samplelayers.Layer12 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer121 tests:
      Set up samplelayers.Layer121 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Running samplelayers.Layer122 tests:
      Tear down samplelayers.Layer121 in N.NNN seconds.
      Set up samplelayers.Layer122 in N.NNN seconds.
      Ran 34 tests with 0 failures and 0 errors in N.NNN seconds.
    Tearing down left over layers:
      Tear down samplelayers.Layer122 in N.NNN seconds.
      Tear down samplelayers.Layer12 in N.NNN seconds.
      Tear down samplelayers.Layer1 in N.NNN seconds.
    Total: 405 tests, 0 failures, 0 errors
    False
----------------------------------------------------------------------
File "D:\PYTHON\PYTHON24\Lib\site-packages\zope\testing\testrunner-coverage.txt"
, line 86, in testrunner-coverage.txt
Failed example:
    os.path.exists('coverage_dir')
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "D:\PYTHON\PYTHON24\Lib\site-packages\zope\testing\testrunner-coverage.txt"
, line 88, in testrunner-coverage.txt
Failed example:
    os.listdir('coverage_dir')
Exception raised:
    Traceback (most recent call last):
      File "D:\Python\Python24\Lib\site-packages\zope\testing\doctest.py", line
1256, in __run
        compileflags, 1) in test.globs
      File "<doctest testrunner-coverage.txt[7]>", line 1, in ?
    WindowsError: [Errno 3] The system cannot find the path specified: 'coverage
_dir/*.*'
----------------------------------------------------------------------
File "D:\PYTHON\PYTHON24\Lib\site-packages\zope\testing\testrunner-coverage.txt"
, line 94, in testrunner-coverage.txt
Failed example:
    shutil.rmtree('coverage_dir')
Exception raised:
    Traceback (most recent call last):
      File "D:\Python\Python24\Lib\site-packages\zope\testing\doctest.py", line
1256, in __run
        compileflags, 1) in test.globs
      File "<doctest testrunner-coverage.txt[9]>", line 1, in ?
      File "D:\PYTHON\PYTHON24\lib\shutil.py", line 155, in rmtree
        onerror(os.listdir, path, sys.exc_info())
      File "D:\PYTHON\PYTHON24\lib\shutil.py", line 153, in rmtree
        names = os.listdir(path)
    WindowsError: [Errno 3] The system cannot find the path specified: 'coverage
_dir/*.*'

  Ran 7643 tests with 1 failures and 0 errors in 753.434 seconds.
Running zope.app.testing.functional.Functional tests:
  Set up zope.app.testing.functional.Functional in 4.537 seconds.
  Ran 460 tests with 0 failures and 0 errors in 110.579 seconds.
Tearing down left over layers:
  Tear down zope.app.testing.functional.Functional ... not supported
Total: 8103 tests, 1 failures, 0 errors

D:\PYTHON\PYTHON24>




-----------------------------------------------------------------
Find the home of your dreams with eircom net property
Sign up for email alerts now http://www.eircom.net/propertyalerts


_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to