Skip to content

Commit 79fcbb2

Browse files
committed
Just use the decorator on the class
1 parent 8005c31 commit 79fcbb2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/webservices_test.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ def test_weird_body_error(self):
147147
'specify code or error keys'):
148148
self.client.country('1.2.3.8')
149149

150-
@httpretty.activate
151150
def test_bad_body_error(self):
152151
httpretty.register_uri(httpretty.GET,
153152
self.base_uri + 'country/' + '1.2.3.9',
@@ -159,7 +158,6 @@ def test_bad_body_error(self):
159158
):
160159
self.client.country('1.2.3.9')
161160

162-
@httpretty.activate
163161
def test_bad_body_error(self):
164162
httpretty.register_uri(httpretty.GET,
165163
self.base_uri + 'country/' + '1.2.3.9',

0 commit comments

Comments
 (0)