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

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

        def repair_uuid(s):
    # Historically the dashes in UUIDS are removed from AMQ entity names,
    # but there is no known reason to.  Hopefully we'll be able to fix
    # this in v4.0.
    return '%s-%s-%s-%s-%s' % (s[:8], s[8:12], s[12:16], s[16:20], s[20:])
        


src/s/o/socorro-HEAD/webapp-django/vendor/lib/python/celery/tests/test_backends/test_amqp.py   socorro(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace("-", "")), tid)

src/o/p/openquake-packages-HEAD/celery/celery/tests/test_backends/test_amqp.py   openquake-packages(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace("-", "")), tid)

src/m/a/make.mozilla.org-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_amqp.py   make.mozilla.org(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace("-", "")), tid)

src/o/h/oh-mainline-HEAD/vendor/packages/celery/celery/tests/test_backends/test_amqp.py   oh-mainline(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace("-", "")), tid)

src/m/o/mozillians-HEAD/vendor-local/lib/python/celery/tests/test_backends/test_amqp.py   mozillians(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace("-", "")), tid)

src/p/l/playdoh-lib-HEAD/lib/python/celery/tests/test_backends/test_amqp.py   playdoh-lib(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace("-", "")), tid)

src/k/u/kuma-lib-HEAD/packages/celery/celery/tests/test_backends/test_amqp.py   kuma-lib(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace("-", "")), tid)

src/f/i/firefox-flicks-HEAD/vendor-local/lib/python/celery/tests/backends/test_amqp.py   firefox-flicks(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace('-', '')), tid)

src/c/e/celery-HEAD/celery/tests/backends/test_amqp.py   celery(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace('-', '')), tid)

src/a/n/antisocial-HEAD/ve/lib/python2.7/site-packages/celery/tests/backends/test_amqp.py   antisocial(Download)
    def test_repair_uuid(self):
        from celery.backends.amqp import repair_uuid
        for i in range(10):
            tid = uuid()
            self.assertEqual(repair_uuid(tid.replace('-', '')), tid)

  1 | 2  Next