make doctest failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Liang Chen |
Bug Description
cd doc; make doctest
sphinx-build -b doctest -d build/doctrees source build/doctest
Running Sphinx v1.1.3
Generating source documentation for heat
...
Excluded module heat.openstack.
loading pickled environment... done
Using openstack theme from /usr/local/
building [doctest]: targets for 84 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] sourcecode/
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
running tests...
Document: sourcecode/
-------
*******
File "sourcecode/
Failed example:
template = Template(
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest default[2]>", line 1, in <module>
template = Template(
NameError: name 'Template' is not defined
*******
File "sourcecode/
Failed example:
parameters = Parameters('stack', template, {'KeyName': 'my_key'})
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest default[3]>", line 1, in <module>
parameters = Parameters('stack', template, {'KeyName': 'my_key'})
NameError: name 'Parameters' is not defined
*******
File "sourcecode/
Failed example:
resolve_
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest default[4]>", line 1, in <module>
NameError: name 'resolve_
*******
1 items had failures:
3 of 5 in default
5 tests in 1 items.
2 passed and 3 failed.
***Test Failed*** 3 failures.
Doctest summary
===============
5 tests
3 failures in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems.
Changed in heat: | |
assignee: | nobody → Liang Chen (cbjchen) |
Changed in heat: | |
status: | In Progress → Fix Committed |
Changed in heat: | |
milestone: | none → icehouse-3 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | icehouse-3 → 2014.1 |
I don't see any doctests in Heat's documentation, so can you explain why you think this might be relevant?