We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f6b659 commit 872478fCopy full SHA for 872478f
tests/test_autodoc.py
@@ -28,6 +28,8 @@ def index():
28
self.assertEqual(d['rule'], '/')
29
self.assertEqual(d['endpoint'], 'index')
30
self.assertEqual(d['docstring'], 'Returns a hello world message')
31
+ self.assertIsInstance(d['location']['line'], int)
32
+ self.assertIn(__file__, d['location']['filename'])
33
self.assertFalse(d['defaults'])
34
35
def testPost(self):
@@ -46,6 +48,8 @@ def index():
46
48
47
49
50
51
52
53
54
55
def testParams(self):
0 commit comments