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

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/django-background-task-HEAD/background_task/tests.py   django-background-task(Download)
 
        # and alternate form
        proxy = tasks.background(empty_task)
        self.assertNotEqual(proxy, empty_task)
        self.assertTrue(isinstance(proxy, TaskProxy))
        self.assertEqual(proxy.name, 'background_task.tests.record_task')
 
        proxy = tasks.background(empty_task)
        #print proxy
        self.assertTrue(isinstance(proxy, TaskProxy))