I think nose runs the setup function in sphinxext.py erroneously (mistaking it as a test setup function), causing it to explode before any actual tests are run:
$ nosetests cartouche.test
E
======================================================================
ERROR: test suite for <module 'cartouche.test' from '/home/sgoss/projects/cartouche/cartouche/test/__init__.pyc'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/sgoss/projects/cartouche_env/local/lib/python2.7/site-packages/nose/suite.py", line 208, in run
self.setUp()
File "/home/sgoss/projects/cartouche_env/local/lib/python2.7/site-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/home/sgoss/projects/cartouche_env/local/lib/python2.7/site-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/home/sgoss/projects/cartouche_env/local/lib/python2.7/site-packages/nose/util.py", line 476, in try_run
return func(obj)
File "/home/sgoss/projects/cartouche/cartouche/sphinxext.py", line 6, in setup
app.add_config_value('cartouche_accept_bulleted_args', False, 'env')
AttributeError: 'module' object has no attribute 'add_config_value'
----------------------------------------------------------------------
Ran 0 tests in 0.000s
FAILED (errors=1)
I think nose runs the setup function in sphinxext.py erroneously (mistaking it as a test setup function), causing it to explode before any actual tests are run: