Ejemplo n.º 1
0
 def test_render_validates_invalid_document(self):
     well_known = SocialRelayWellKnown(subscribe=True,
                                       tags=("foo", "bar"),
                                       scope="cities")
     with pytest.raises(ValidationError):
         well_known.render()
Ejemplo n.º 2
0
 def test_render_validates_invalid_document(self):
     well_known = SocialRelayWellKnown(subscribe=True, tags=("foo", "bar"), scope="cities")
     with pytest.raises(ValidationError):
         well_known.render()
Ejemplo n.º 3
0
 def test_render_validates_valid_document(self):
     well_known = SocialRelayWellKnown(subscribe=True,
                                       tags=("foo", "bar"),
                                       scope="tags")
     well_known.render()
Ejemplo n.º 4
0
 def test_render_validates_valid_document(self):
     well_known = SocialRelayWellKnown(subscribe=True, tags=("foo", "bar"), scope="tags")
     well_known.render()