[pypy-svn] r44279 - pypy/branch/graphserver-dist/dotviewer/test

arigo at codespeak.net arigo at codespeak.net
Fri Jun 15 13:10:36 CEST 2007


Author: arigo
Date: Fri Jun 15 13:10:25 2007
New Revision: 44279

Modified:
   pypy/branch/graphserver-dist/dotviewer/test/test_interactive.py
Log:
A test for fixedfont.


Modified: pypy/branch/graphserver-dist/dotviewer/test/test_interactive.py
==============================================================================
--- pypy/branch/graphserver-dist/dotviewer/test/test_interactive.py	(original)
+++ pypy/branch/graphserver-dist/dotviewer/test/test_interactive.py	Fri Jun 15 13:10:25 2007
@@ -147,3 +147,12 @@
     dotfile = udir.join('graph1.dot')
     page = MyPage(str(dotfile))
     graphclient.display_page(page)
+
+def test_fixedfont():
+    from dotviewer import graphpage, graphclient
+    class MyPage(graphpage.DotFileGraphPage):
+        fixedfont = True
+    dotfile = udir.join('graph1.dot')
+    page = MyPage(str(dotfile))
+    page.fixedfont = True
+    graphclient.display_page(page)


More information about the pypy-svn mailing list