'Tests if bad JSON string was given.'

def test_clean_bad_json(self):

    self.config = CertificateHtmlViewConfiguration(configuration='{"bad":"test"')
    self.assertRaises(ValidationError, self.config.clean)
