From: Brian Warner Date: Fri, 15 Jun 2007 08:38:55 +0000 (-0700) Subject: test_system.py: match change to /global_vdrive URL X-Git-Tag: allmydata-tahoe-0.4.0~37 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/%3C?a=commitdiff_plain;h=53da82ec048d569c1c589cdd1ba77ffd9e948d14;p=tahoe-lafs%2Ftahoe-lafs.git test_system.py: match change to /global_vdrive URL --- 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