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

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

        def disable_trace():
    global app_or_default
    app_or_default = _app_or_default
        


src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/celery/tests/test_app/__init__.py   socorro(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/o/p/openquake-packages-HEAD/celery/celery/tests/test_app/__init__.py   openquake-packages(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/m/a/make.mozilla.org-HEAD/vendor-local/lib/python/celery/tests/test_app/__init__.py   make.mozilla.org(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/o/h/oh-mainline-HEAD/vendor/packages/celery/celery/tests/test_app/__init__.py   oh-mainline(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/m/o/mozillians-HEAD/vendor-local/lib/python/celery/tests/test_app/__init__.py   mozillians(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/p/l/playdoh-lib-HEAD/lib/python/celery/tests/test_app/__init__.py   playdoh-lib(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/k/u/kuma-lib-HEAD/packages/celery/celery/tests/test_app/__init__.py   kuma-lib(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/f/i/firefox-flicks-HEAD/vendor-local/lib/python/celery/tests/app/test_app.py   firefox-flicks(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/c/e/celery-HEAD/celery/tests/app/test_app.py   celery(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/celery/tests/app/test_app.py   antisocial(Download)
    def test_enable_disable_trace(self):
        try:
            _app.enable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default_trace)
            _app.disable_trace()
            self.assertEqual(_app.app_or_default, _app._app_or_default)
        finally:
            _app.disable_trace()

  1 | 2  Next