From e50da909740231aafbb0863e36191938b01bd579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 1 Sep 2011 11:29:26 +0200 Subject: [PATCH] Use httplib instead of cryptic magic number. --- bt5/networkcache_erp5/TestTemplateItem/testShaCacheExternal.py | 2 +- bt5/networkcache_erp5/bt/revision | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bt5/networkcache_erp5/TestTemplateItem/testShaCacheExternal.py b/bt5/networkcache_erp5/TestTemplateItem/testShaCacheExternal.py index 6d8f83f526..58dd8d4702 100644 --- a/bt5/networkcache_erp5/TestTemplateItem/testShaCacheExternal.py +++ b/bt5/networkcache_erp5/TestTemplateItem/testShaCacheExternal.py @@ -147,4 +147,4 @@ class TestShaCacheExternal(ShaCacheMixin, ShaSecurityMixin, ERP5TypeTestCase): self.tic() finally: connection.close() - self.assertEquals(302, result.status) + self.assertEquals(httplib.FOUND, result.status) diff --git a/bt5/networkcache_erp5/bt/revision b/bt5/networkcache_erp5/bt/revision index b393560759..cabf43b5dd 100644 --- a/bt5/networkcache_erp5/bt/revision +++ b/bt5/networkcache_erp5/bt/revision @@ -1 +1 @@ -23 \ No newline at end of file +24 \ No newline at end of file -- 2.30.9