MCPcopy Create free account
hub / github.com/SimHacker/micropolis / test_method

Method test_method

turbogears/micropolis/tests/test_controllers.py:11–15  ·  view source on GitHub ↗

the index method should return a string called now

(self)

Source from the content-addressed store, hash-verified

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"

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected