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