--- a/Allura/allura/tests/functional/test_rest.py
+++ b/Allura/allura/tests/functional/test_rest.py
@@ -13,23 +13,23 @@
class TestRestHome(TestRestApiBase):
def test_bad_signature(self):
- r = self.api_post('/rest/p/test/home/', api_signature='foo')
+ r = self.api_post('/rest/p/test/wiki/', api_signature='foo')
assert r.status_int == 403
def test_bad_token(self):
- r = self.api_post('/rest/p/test/home/', api_key='foo')
+ r = self.api_post('/rest/p/test/wiki/', api_key='foo')
assert r.status_int == 403
def test_bad_timestamp(self):
- r = self.api_post('/rest/p/test/home/', api_timestamp=(datetime.utcnow() + timedelta(days=1)).isoformat())
+ r = self.api_post('/rest/p/test/wiki/', api_timestamp=(datetime.utcnow() + timedelta(days=1)).isoformat())
assert r.status_int == 403
def test_bad_path(self):
- r = self.api_post('/rest/1/test/home/')
+ r = self.api_post('/rest/1/test/wiki/')
assert r.status_int == 404
- r = self.api_post('/rest/p/1223/home/')
+ r = self.api_post('/rest/p/1223/wiki/')
assert r.status_int == 404
- r = self.api_post('/rest/p/test/12home/')
+ r = self.api_post('/rest/p/test/12wiki/')
assert r.status_int == 404
def test_no_api(self):
@@ -37,12 +37,12 @@
assert r.status_int == 404
def test_project_ping(self):
- r = self.api_get('/rest/p/test/home/Home/')
+ r = self.api_get('/rest/p/test/wiki/Home/')
assert r.status_int == 200
assert r.json['title'] == 'Home', r.json
def test_subproject_ping(self):
- r = self.api_get('/rest/p/test/sub1/home/Home/')
+ r = self.api_get('/rest/p/test/sub1/wiki/Home/')
assert r.status_int == 200
assert r.json['title'] == 'Home', r.json