Skip to content

Commit 0936a71

Browse files
committed
Make it obvious that this is a Mixin.
1 parent 9111e5f commit 0936a71

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ def test_minItems_invalid_string(self):
221221
validate([1], {"minItems" : "1"}, cls=self.validator_class)
222222

223223

224-
class RemoteRefResolution(unittest.TestCase):
224+
class RemoteRefResolutionMixin(object):
225225
def setUp(self):
226226
patch = mock.patch("jsonschema.requests")
227227
requests = patch.start()
@@ -234,12 +234,12 @@ def resolve(self, reference):
234234

235235

236236
@load_json_cases("draft3/refRemote.json")
237-
class Draft3RemoteResolution(RemoteRefResolution):
237+
class Draft3RemoteResolution(RemoteRefResolutionMixin, unittest.TestCase):
238238
validator_class = Draft3Validator
239239

240240

241241
@load_json_cases("draft4/refRemote.json")
242-
class Draft4RemoteResolution(RemoteRefResolution):
242+
class Draft4RemoteResolution(RemoteRefResolutionMixin, unittest.TestCase):
243243
validator_class = Draft4Validator
244244

245245

0 commit comments

Comments
 (0)