Conditions | 1 |
Total Lines | 6 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import unittest |
||
7 | def test_app_json_serialize(self): |
||
8 | app = ApplicationService(component='test') |
||
9 | pool = AvailablePool('S9', None, 'url', 'user', 'x', 0) |
||
10 | strpool = app.jsonserialize(AvailablePoolSchema(), pool) |
||
11 | self.assertTrue(isinstance(strpool, str)) |
||
12 | self.assertFalse(strpool.startswith('[')) |
||
13 | |||
24 |