summaryrefslogtreecommitdiff
path: root/buildscripts/resmokelib/testing/testcases/json_schema_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'buildscripts/resmokelib/testing/testcases/json_schema_test.py')
-rw-r--r--buildscripts/resmokelib/testing/testcases/json_schema_test.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/buildscripts/resmokelib/testing/testcases/json_schema_test.py b/buildscripts/resmokelib/testing/testcases/json_schema_test.py
index 8380b246bf6..08e5a2d71a8 100644
--- a/buildscripts/resmokelib/testing/testcases/json_schema_test.py
+++ b/buildscripts/resmokelib/testing/testcases/json_schema_test.py
@@ -1,6 +1,4 @@
-"""
-unittest.TestCase for JSON Schema tests.
-"""
+"""The unittest.TestCase for JSON Schema tests."""
from __future__ import absolute_import
@@ -16,7 +14,7 @@ class JSONSchemaTestCase(jsrunnerfile.JSRunnerFileTestCase):
REGISTERED_NAME = "json_schema_test"
def __init__(self, logger, json_filename, shell_executable=None, shell_options=None):
- """Initializes the JSONSchemaTestCase with the JSON test file."""
+ """Initialize the JSONSchemaTestCase with the JSON test file."""
jsrunnerfile.JSRunnerFileTestCase.__init__(
self, logger, "JSON Schema test", json_filename,
@@ -25,6 +23,7 @@ class JSONSchemaTestCase(jsrunnerfile.JSRunnerFileTestCase):
@property
def json_filename(self):
+ """Get the JSON filename."""
return self.test_name
def _populate_test_data(self, test_data):