Permalink
Browse files

Use test site in item tests

  • Loading branch information...
1 parent 41f589b commit f752df6eece63a9ab6b806c0f24779f88e19ccd9 @veeti committed Apr 15, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 vasara/tests/test_item.py
View
3 vasara/tests/test_item.py
@@ -1,5 +1,6 @@
from unittest import TestCase
from vasara.item import Item
+from vasara.tests.common import build_test_site
TEST_ITEM = """---
{
@@ -13,7 +14,7 @@
class TestItem(TestCase):
def setUp(self):
- self.site = None # TODO
+ self.site = build_test_site()
self.item = Item(key="test", site=self.site, raw=TEST_ITEM)
def test_content_matcher(self):

0 comments on commit f752df6

Please sign in to comment.