From 520f68dfc50ca3f9539bba7deeffbe08fc24ecdd Mon Sep 17 00:00:00 2001 From: Chris Dent Date: Mon, 26 Jan 2015 17:30:38 +0000 Subject: [PATCH] Remove explicit requirement on testtools HttpTestCase can inherit from unittest not testtools. --- gabbi/case.py | 4 ++-- requirements.txt | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/gabbi/case.py b/gabbi/case.py index e3eed64..b7d75ff 100644 --- a/gabbi/case.py +++ b/gabbi/case.py @@ -19,11 +19,11 @@ import os import re import jsonpath_rw -import testtools +import unittest from six.moves.urllib import parse as urlparse -class HTTPTestCase(testtools.TestCase): +class HTTPTestCase(unittest.TestCase): """Encapsulate a single HTTP request as a TestCase. If the test is a member of a sequence of requests, ensure that prior diff --git a/requirements.txt b/requirements.txt index 120556e..d091229 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ pbr>=0.6,!=0.7,<1.0 six>=1.7.0 PyYAML -testtools>=0.9.32 httplib2 jsonpath-rw wsgi-intercept