from communityalmanac.tests import *

class TestPageController(TestController):

    def test_create(self):
        pass
        #response = self.app.get(url(controller='page', action='create'))
        # Test response...

@@ -29,16 +29,99 @@
 import *
+%0Afrom communityalmanac.model import Almanac%0Afrom communityalmanac.model import meta
 %0A%0Aclass 
@@ -169,112 +169,245 @@
 def 
-test_
 create
-(self):%0A        pass%0A        #response = self.app.get(url(controller='page', action='create')
+_almanac(self, name, slug):%0A        a = Almanac(name, slug)%0A        meta.Session.save(a)%0A        meta.Session.commit()%0A        return a%0A%0A    def test_create(self):%0A        almanac = self.create_almanac(u'my almanac for page', 'a4p'
 )%0A  
@@ -416,23 +416,16 @@
     
-# Test 
 response
 ...%0A
@@ -424,8 +424,69 @@
 onse
-...
+ = self.app.get(url('page_create', almanac=almanac), status=200)
 %0A

test for page create form