summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyramid/tests/test_response.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyramid/tests/test_response.py b/pyramid/tests/test_response.py
index 46eb298d1..6cb2fd6f4 100644
--- a/pyramid/tests/test_response.py
+++ b/pyramid/tests/test_response.py
@@ -8,10 +8,10 @@ class TestResponse(unittest.TestCase):
def test_implements_IResponse(self):
from pyramid.interfaces import IResponse
cls = self._getTargetClass()
- self.failUnless(IResponse.implementedBy(cls))
+ self.assertTrue(IResponse.implementedBy(cls))
def test_provides_IResponse(self):
from pyramid.interfaces import IResponse
inst = self._getTargetClass()()
- self.failUnless(IResponse.providedBy(inst))
+ self.assertTrue(IResponse.providedBy(inst))