Changeset 1510 for trunk/pylucid/tests/stylesheet.py
- Timestamp:
- 03/27/08 16:59:44 (8 months ago)
- Files:
-
- 1 modified
-
trunk/pylucid/tests/stylesheet.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/tests/stylesheet.py
r1476 r1510 52 52 Page.objects.all().delete() # Delete all existins pages 53 53 54 self.template = tests.create_template("{% lucidTag page_style %}") 54 self.template = tests.create_template( 55 content = "{% lucidTag page_style %}" 56 ) 55 57 self.style = tests.create_stylesheet( 56 58 name = "TestStyle", content = TEST_STYLE_CONTENT, … … 90 92 """ Return the stylesheet link contains in the root cms page. """ 91 93 response = self.client.get("/") 94 from_cache = response.get("from_cache", None) 95 print from_cache 92 96 content = response.content 93 97 links = self._exctract_stylelinks(content) … … 150 154 must_link = self._get_stylelink() 151 155 is_link = self._get_content_link() 152 assert is_link == must_link156 self.failUnlessEqual(must_link, is_link) 153 157 154 158 def test_command_link(self):
