From 53da82ec048d569c1c589cdd1ba77ffd9e948d14 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 15 Jun 2007 01:38:55 -0700 Subject: [PATCH] test_system.py: match change to /global_vdrive URL --- src/allmydata/test/test_system.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/allmydata/test/test_system.py b/src/allmydata/test/test_system.py index 85a96009..84839abb 100644 --- a/src/allmydata/test/test_system.py +++ b/src/allmydata/test/test_system.py @@ -276,14 +276,15 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase): "I didn't see the right 'My nodeid' message " "in: %s" % page) d.addCallback(_got_welcome) - d.addCallback(lambda res: getPage(base + "vdrive")) - d.addCallback(lambda res: getPage(base + "vdrive/subdir1")) + d.addCallback(lambda res: getPage(base + "global_vdrive")) + d.addCallback(lambda res: getPage(base + "global_vdrive/subdir1")) def _got_subdir1(page): # there ought to be an href for our file self.failUnless(("%d" % len(self.data)) in page) self.failUnless(">mydata567" in page) d.addCallback(_got_subdir1) - d.addCallback(lambda res: getPage(base + "vdrive/subdir1/mydata567")) + d.addCallback(lambda res: + getPage(base + "global_vdrive/subdir1/mydata567")) def _got_data(page): self.failUnlessEqual(page, self.data) d.addCallback(_got_data) @@ -353,7 +354,7 @@ class SystemTest(testutil.SignalMixin, unittest.TestCase): # TODO: create a directory by using a form # TODO: upload by using a form on the directory page - # url = base + "vdrive/subdir1/freeform_post!!upload" + # url = base + "global_vdrive/subdir1/freeform_post!!upload" # TODO: delete a file by using a button on the directory page -- 2.45.2