def get(self, uri, *args, **kwargs):
     req = self.factory.get(uri, *args, **kwargs)
     req.auth = self.auth
     from ccui.core.api import url_final_integer
     return self.view(req, url_final_integer(uri))
 def get(self, uri, *args, **kwargs):
     req = self.factory.get(uri, *args, **kwargs)
     req.auth = self.auth
     from ccui.core.api import url_final_integer
     return self.view(req, url_final_integer(uri))
示例#3
0
 def check(self, url, expected):
     from ccui.core.api import url_final_integer
     self.assertEqual(url_final_integer(url), expected)
 def check(self, url, expected):
     from ccui.core.api import url_final_integer
     self.assertEqual(url_final_integer(url), expected)