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

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

src/d/j/django-options-HEAD/django_options/tests.py   django-options(Download)
    def test_api(self):
        import django_options.api as API
 
        self.assertEqual(API.get_option('foo'), None)
        self.assertFalse(API.has_option('foo'))