From: W. Trevor King <wking@drexel.edu>
Date: Sat, 30 Jul 2011 15:43:30 +0000 (-0400)
Subject: bugseverywhere.org has changed URL handling, so use different URLs for HTTP testing.
X-Git-Tag: 1.1.0~175^2~17
X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=eb40d407a056f0ac38896196dee6dbb543df424e;p=be.git

bugseverywhere.org has changed URL handling, so use different URLs for HTTP testing.
---

diff --git a/libbe/storage/http.py b/libbe/storage/http.py
index f7af3e7..c2bb65b 100644
--- a/libbe/storage/http.py
+++ b/libbe/storage/http.py
@@ -335,14 +335,14 @@ if TESTING == True:
     class GetPostUrlTestCase (unittest.TestCase):
         """Test cases for get_post_url()"""
         def test_get(self):
-            url = 'http://bugseverywhere.org/be/show/HomePage'
+            url = 'http://bugseverywhere.org/'
             page,final_url,info = get_post_url(url=url)
             self.failUnless(final_url == url,
                 'Redirect?\n  Expected: "%s"\n  Got:      "%s"'
                 % (url, final_url))
         def test_get_redirect(self):
-            url = 'http://bugseverywhere.org'
-            expected = 'http://bugseverywhere.org/be/show/HomePage'
+            url = 'http://physics.drexel.edu/~wking/code/be/redirect'
+            expected = 'http://physics.drexel.edu/~wking/'
             page,final_url,info = get_post_url(url=url)
             self.failUnless(final_url == expected,
                 'Redirect?\n  Expected: "%s"\n  Got:      "%s"'