[py-svn] r20985 - py/dist/py/rest/testing
cfbolz at codespeak.net
cfbolz at codespeak.net
Sat Dec 10 00:10:49 CET 2005
Author: cfbolz
Date: Sat Dec 10 00:10:48 2005
New Revision: 20985
Modified:
py/dist/py/rest/testing/test_restgraphviz.py
Log:
wua! I didn't run my tests for the last checkin a while ago :-(
shame on me.
Modified: py/dist/py/rest/testing/test_restgraphviz.py
==============================================================================
--- py/dist/py/rest/testing/test_restgraphviz.py (original)
+++ py/dist/py/rest/testing/test_restgraphviz.py Sat Dec 10 00:10:48 2005
@@ -6,7 +6,7 @@
datadir = py.magic.autopath().dirpath().join("data")
def test_graphviz_html():
- graphvizdirective = restgraphviz.GraphvizDirective("html", datadir)
+ graphvizdirective = restgraphviz.GraphvizDirective("html")
#for reasons that elude me rest.process expects svnwcs???
txt = py.path.svnwc(datadir.join("graphviz.txt"))
html = txt.new(ext="html")
@@ -20,7 +20,7 @@
png.remove()
def test_graphviz_pdf():
- graphvizdirective = restgraphviz.GraphvizDirective("latex", datadir)
+ graphvizdirective = restgraphviz.GraphvizDirective("latex")
txt = py.path.local(datadir.join("graphviz.txt"))
pdf = txt.new(ext="pdf")
dotpdf = datadir.join("example1.pdf")
More information about the pytest-commit
mailing list