summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Petrello <lists@ryanpetrello.com>2014-04-24 07:20:04 -0700
committerRyan Petrello <lists@ryanpetrello.com>2014-04-24 07:20:04 -0700
commit36f89683745ace28b1600596d197e4f97c8a8555 (patch)
tree8f88fcbe0384cd705c8b0ac46a878c9bee433f05
parent7e6e3fc8766d6331165e1a06f163a90e579b1d03 (diff)
downloadpecan-36f89683745ace28b1600596d197e4f97c8a8555.tar.gz
Fix a broken scaffold test.
Related to bug 1311629 Change-Id: Ic442457c501d598814f492e7aab4d885bdcf0711
-rw-r--r--pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl b/pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl
index f1ac12c..6f1b43b 100644
--- a/pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl
+++ b/pecan/scaffolds/rest-api/+package+/tests/test_functional.py_tmpl
@@ -27,7 +27,7 @@ class TestRootController(FunctionalTest):
def test_delete(self):
response = self.app.delete('/people/1')
- assert response.status_int == 200
+ assert response.status_int == 204
def test_not_found(self):
response = self.app.get('/missing/', expect_errors=True)