<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,16 @@
 from base import BaseController, StaticPageController
 
 class HomeController(BaseController):
+  &quot;&quot;&quot;
+  from webtest import TestApp
+  from helloworld import application
+
+  app = TestApp(application())
+
+  def test_index():
+      response = app.get('/')
+      assert 'Hello world!' in str(response)
+  &quot;&quot;&quot;
   def get(self):
     self.render('templates/pages/index.html', locals())
   </diff>
      <filename>controllers.py</filename>
    </modified>
    <modified>
      <diff>@@ -17,9 +17,11 @@ urls = (
   ('/', HomeController),
 )
 
+def application():
+  return webapp.WSGIApplication(urls + base_urls, debug=DEBUG_MODE)
+  
 def main():
-  application = webapp.WSGIApplication(urls + base_urls, debug=DEBUG_MODE)
-  run_wsgi_app(application)
+  run_wsgi_app(application())
 
 if __name__ == '__main__':
   main()</diff>
      <filename>main.py</filename>
    </modified>
  </modified>
  <removed type="array">
    <removed>
      <filename>cherrypy</filename>
    </removed>
  </removed>
  <parents type="array">
    <parent>
      <id>efd2b72a2e4485fd30aaceaf6a4b61337a62e060</id>
    </parent>
  </parents>
  <author>
    <name>Cuong Tran</name>
    <email>ctran@pragmaquest.com</email>
  </author>
  <url>http://github.com/ctran/appengine-starter/commit/b277beb03f8bf1fde0c8d57197e6b4a17fb8fa57</url>
  <id>b277beb03f8bf1fde0c8d57197e6b4a17fb8fa57</id>
  <committed-date>2009-03-31T20:17:03-07:00</committed-date>
  <authored-date>2009-03-31T20:17:03-07:00</authored-date>
  <message>Remove the cherrypy link</message>
  <tree>da138dec43f1c1a05982d2c96c1620d3e17d2eb9</tree>
  <committer>
    <name>Cuong Tran</name>
    <email>ctran@pragmaquest.com</email>
  </committer>
</commit>
