Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(3)  |  Derive(0)  |  Import(3)

src/d/j/django-dajaxice-ng-0.5.6.5/dajaxice/tests/__init__.py   django-dajaxice-ng(Download)
 
from dajaxice.core import DajaxiceConfig
from dajaxice.core.Dajaxice import DajaxiceModule, DajaxiceFunction, Dajaxice
from dajaxice.exceptions import FunctionNotCallableError
 
            raise CalledEception
 
        function = DajaxiceFunction(callback, 'foo', 'POST')
 
        self.assertEqual(function.function, callback)

src/d/j/django-dajaxice-0.6/dajaxice/tests/__init__.py   django-dajaxice(Download)
 
from dajaxice.core import DajaxiceConfig
from dajaxice.core.Dajaxice import DajaxiceModule, DajaxiceFunction, Dajaxice
from dajaxice.exceptions import FunctionNotCallableError
 
            raise CalledEception
 
        function = DajaxiceFunction(callback, 'foo', 'POST')
 
        self.assertEqual(function.function, callback)

src/d/j/django-dajaxice-HEAD/dajaxice/tests/__init__.py   django-dajaxice(Download)
 
from dajaxice.core import DajaxiceConfig
from dajaxice.core.Dajaxice import DajaxiceModule, DajaxiceFunction, Dajaxice
from dajaxice.exceptions import FunctionNotCallableError
 
            raise CalledEception
 
        function = DajaxiceFunction(callback, 'foo', 'POST')
 
        self.assertEqual(function.function, callback)