def test_plugins(self): p = SenpyPlugin({"name": "dummy", "version": 0}) c = p.jsonld() assert "info" not in c assert "repo" not in c assert "params" not in c logging.debug("Framed: %s", c) assert "extra_params" in c
def test_plugins(self): self.assertRaises(Error, SenpyPlugin) p = SenpyPlugin({"name": "dummy", "version": 0}) c = p.jsonld() assert "info" not in c assert "repo" not in c assert "extra_params" in c logging.debug("Framed:") logging.debug(c) p.validate()