def test_get_view_name_without_namespace(self):
     v_name = prometheus.get_view_name(namespace="", view=VIDEO_SIZE_VIEW)
     self.assertEqual("myorg_views_video_size_test2", v_name)
 def test_get_view_name(self):
     v_name = prometheus.get_view_name(namespace="opencensus",
                                       view=VIDEO_SIZE_VIEW)
     self.assertEqual("opencensus_myorg_views_video_size_test2", v_name)