

def assertValidJSON(self, data):
    self.assertNotRaises(ValueError, jsonutils.loads, data)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/base.py BaseUnitTest.assertValidJSON/original