Code review comment for lp:~brian.curtin/dirspec/windows-buildout

Revision history for this message
Mike McCracken (mikemc) wrote :

Just left as a comment because I'm about to leave for a few days, but I can't run the tests with the buildout python - I think I must be missing a dependency somewhere?

C:\Users\mmccrack\Canonical\ubuntuone-windows-installer\scripts\devsetup\parts\dirspec>python setup.py test
running test
running egg_info
writing dirspec.egg-info\PKG-INFO
writing top-level names to dirspec.egg-info\top_level.txt
writing dependency_links to dirspec.egg-info\dependency_links.txt
reading manifest file 'dirspec.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'dirspec.egg-info\SOURCES.txt'
running build_ext
Traceback (most recent call last):
  File "C:\Users\mmccrack\Canonical\ubuntuone-windows-installer\scripts\devsetup\bin\python-script.py", line 58, in <module>
    execfile(__file__)
  File "setup.py", line 26, in <module>
    test_suite='dirspec.tests',
  File "C:\Python27\lib\distutils\core.py", line 152, in setup
    dist.run_commands()
  File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
    cmd_obj.run()
  File "C:\Python27\lib\site-packages\distribute-0.6.27-py2.7.egg\setuptools\command\test.py", line 137, in run
    self.with_project_on_sys_path(self.run_tests)
  File "C:\Python27\lib\site-packages\distribute-0.6.27-py2.7.egg\setuptools\command\test.py", line 117, in with_project_on_sys_path
    func()
  File "C:\Python27\lib\site-packages\distribute-0.6.27-py2.7.egg\setuptools\command\test.py", line 146, in run_tests
    testLoader = loader_class()
  File "C:\Python27\lib\unittest\main.py", line 94, in __init__
    self.parseArgs(argv)
  File "C:\Python27\lib\unittest\main.py", line 149, in parseArgs
    self.createTests()
  File "C:\Python27\lib\unittest\main.py", line 158, in createTests
    self.module)
  File "C:\Python27\lib\unittest\loader.py", line 128, in loadTestsFromNames
    suites = [self.loadTestsFromName(name, module) for name in names]
  File "C:\Python27\lib\unittest\loader.py", line 100, in loadTestsFromName
    parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'tests'

« Back to merge proposal