From: Zooko O'Whielacronx Date: Wed, 30 Jan 2008 18:41:58 +0000 (-0700) Subject: tests: add a test that nevow can find its default css file X-Git-Url: https://git.rkrishnan.org/simplejson/-?a=commitdiff_plain;h=424d338c827727f7485806deb0c22ec269b36742;p=tahoe-lafs%2Ftahoe-lafs.git tests: add a test that nevow can find its default css file --- diff --git a/src/allmydata/test/test_nevow.py b/src/allmydata/test/test_nevow.py new file mode 100644 index 00000000..df641d47 --- /dev/null +++ b/src/allmydata/test/test_nevow.py @@ -0,0 +1,11 @@ +from twisted.trial import unittest + +from formless import webform + +class Web(unittest.TestCase): + def test_read_default_css(self): + """ + Sometimes Nevow can't find its resource files such as its default css file. + """ + webform.defaultCSS.openForReading() + test_read_default_css.todo = "We have a patch for Nevow that makes this test pass, but we haven't decided how to manage a patched version of Nevow, and the Nevow upstream folks haven't decided to accept our patch."