Thanks,
Tom
$ python setup.py test
running test
Traceback (most recent call last):
File "setup.py", line 55, in <module>
cmdclass = { 'test': TestCommand }
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 974, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File "setup.py", line 41, in run
tests = TestLoader().loadTestsFromNames(testfiles)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 565, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 541, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_ec2'
I'm trying to run the libcloud unit tests, but I'm not having any luck
(see stacktrace below). Any idea what I'm doing wrong? This is on Mac
OS X (10.5.8).
running test
Traceback (most recent call last):
File "setup.py", line 55, in <module>
cmdclass = { 'test': TestCommand }
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/core.py",
line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 974, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/distutils/dist.py",
line 994, in run_command
cmd_obj.run()
File "setup.py", line 41, in run
tests = TestLoader().loadTestsFromNames(testfiles)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 565, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/unittest.py",
line 541, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_ec2'