4 from test_base import TestBase
9 class TestVersionbBase(TestBase):
11 super(TestVersionbBase, self).setUp()
13 self.basePath = '/versions'
16 class TestVersion(TestVersionbBase):
17 def test_success(self):
18 code, body = self.get()
19 self.assertEqual(200, code)
20 json_body = json.loads(body)
21 self.assertEqual(len(json_body), 1)
22 self.assertEqual('basics', json_body[0].get('v1'))
24 if __name__ == '__main__':