Exemplo n.º 1
0
 def test_list_view_point(self):
     view_point = ListViewPoint.to_python(self.get_view_point_kwargs())
     view_point.save()
     view_point.get_urls()
     ListViewPoint.get_admin_form_class()
     
     request = self.factory.get('/')
    def test_list_view_point(self):
        view_point = ListViewPoint.to_python(self.get_view_point_kwargs())
        return  #TODO
        view_point.save()
        view_point.get_urls()
        ListViewPoint.get_admin_form_class()

        request = self.factory.get('/')
Exemplo n.º 3
0
    def test_list_view_point(self):
        view_point = ListViewPoint.to_python(self.get_view_point_kwargs())
        view_point.save()
        view_point.get_urls()
        ListViewPoint.get_admin_form_class()

        request = self.factory.get('/')
        response = view_point.dispatch(request)
Exemplo n.º 4
0
 def create_view_point(self, **kwargs):
     params = self.get_view_point_kwargs(**kwargs)
     view_point = ListViewPoint.to_python(params)
     #view_point.save()
     return view_point