RDFLib/rdflib — Issue #47: test/leaves.py doesn't work correctly.
Author: gjhiggins
Created: 2012-02-20 08:31:22+00:00
State: open

stephen....@gmail.com, 2009-02-18T21:29:52.000Z

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)

Comment 1 by eik...@gmail.com

Comment 2 by eik...@gmail.com
Fixed in r1831 and r1832

Comment 3 by eik...@gmail.com
This issue was updated by revision r1832.

Moved to test_leaves.py so that it gets discovered and run. (Fixes issue 49.)

Comment 4 by eik...@gmail.com
This issue was updated by revision 76032889132d.

Comment 5 by eik...@gmail.com
This issue was updated by revision 5cfb2b2aea4b.

Moved to test_leaves.py so that it gets discovered and run. (Fixes issue 49.)