Beispiel #1
0
 def test_goverlay_html_safe(self):
     from django.contrib.gis.maps.google.overlays import GOverlayBase
     overlay = GOverlayBase()
     overlay.js_params = '"foo", "bar"'
     self.assertTrue(hasattr(GOverlayBase, '__html__'))
     self.assertEqual(force_text(overlay), overlay.__html__())
Beispiel #2
0
 def test_goverlay_html_safe(self):
     overlay = GOverlayBase()
     overlay.js_params = '"foo", "bar"'
     self.assertTrue(hasattr(GOverlayBase, '__html__'))
     self.assertEqual(force_text(overlay), overlay.__html__())
Beispiel #3
0
 def test_goverlay_html_safe(self):
     from django.contrib.gis.maps.google.overlays import GOverlayBase
     overlay = GOverlayBase()
     overlay.js_params = '"foo", "bar"'
     self.assertTrue(hasattr(GOverlayBase, '__html__'))
     self.assertEqual(force_text(overlay), overlay.__html__())
Beispiel #4
0
 def test_goverlay_html_safe(self):
     overlay = GOverlayBase()
     overlay.js_params = '"foo", "bar"'
     self.assertTrue(hasattr(GOverlayBase, '__html__'))
     self.assertEqual(force_text(overlay), overlay.__html__())