]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
tests: add a test that nevow can find its default css file
authorZooko O'Whielacronx <zooko@zooko.com>
Wed, 30 Jan 2008 18:41:58 +0000 (11:41 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Wed, 30 Jan 2008 18:41:58 +0000 (11:41 -0700)
src/allmydata/test/test_nevow.py [new file with mode: 0644]

diff --git a/src/allmydata/test/test_nevow.py b/src/allmydata/test/test_nevow.py
new file mode 100644 (file)
index 0000000..df641d4
--- /dev/null
@@ -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."