def test_render_validates_invalid_document(self): well_known = SocialRelayWellKnown(subscribe=True, tags=("foo", "bar"), scope="cities") with pytest.raises(ValidationError): well_known.render()
def test_render_validates_valid_document(self): well_known = SocialRelayWellKnown(subscribe=True, tags=("foo", "bar"), scope="tags") well_known.render()