eventlogging tests in mainline error as the test runner is trying to run the tests on the tests directory inside the eggs we are imported. Pykafka has a test directory inside the
package. Error is as follows:
File "/usr/lib/python2.7/unittest/loader.py", line 130, in loadTestsFromNames suites = [self.loadTestsFromName(name, module) for name in names] File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/vagrant/mediawiki/extensions/EventLogging/server/.tox/py27/local/lib/python2.7/site-packages/setuptools/command/test.py", line 39, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib/python2.7/unittest/loader.py", line 103, in loadTestsFromName return self.loadTestsFromModule(obj) File "/vagrant/mediawiki/extensions/EventLogging/server/.tox/py27/local/lib/python2.7/site-packages/setuptools/command/test.py", line 39, in loadTestsFromModule tests.append(self.loadTestsFromName(submodule)) File "/usr/lib/python2.7/unittest/loader.py", line 100, in loadTestsFromName parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'test_balancedconsumer'
ERROR: InvocationError: '/vagrant/mediawiki/extensions/EventLogging/server/.tox/py27/bin/python setup.py test'