the index method should return a string called now
(self)
| 9 | root = Root |
| 10 | |
| 11 | def test_method(self): |
| 12 | "the index method should return a string called now" |
| 13 | import types |
| 14 | response = self.app.get("/") |
| 15 | assert type(response.raw["now"]) == types.StringType |
| 16 | |
| 17 | def test_indextitle(self): |
| 18 | "The indexpage should have the right title" |