gjhiggins/rdflib — Issue #48: test/leaves.py doesn't work correctly.
Author: gjhiggins
Created: 2011-10-19 01:05:47+00:00
State: open

Originally filed by stephen....@gmail.com on 2009-02-18T21:29:52

What steps will reproduce the problem?
1. python test/leaves.py
2. nosetests test/leaves.py

What is the expected output? What do you see instead?

Expected is to see unit tests run. Running it directly has no output,
running it under nose has this output:

test.leaves.test_leaves ... ERROR

======================================================================
ERROR: test.leaves.test_leaves
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/nose/case.py", line 182, in runTest
self.test(*self.arg)
File "/home/sthorne/src/rdflib/test/leaves.py", line 36, in test_leaves
NameError: global name 'DocFileSuite' is not defined

----------------------------------------------------------------------
Ran 1 test in 0.002s

FAILED (errors=1)