Skip to content

Commit b428fe3

Browse files
committed
Rearrange tests to match src layout
1 parent 38a9b96 commit b428fe3

9 files changed

Lines changed: 5 additions & 5 deletions

File tree

tests/tests_api_v1/__init__.py

Whitespace-only changes.

tests/tests_api_v2/__init__.py

Whitespace-only changes.

tests/test_compare_properties.py renamed to tests/tests_api_v2/test_compare_properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from entityshape.api_v2.comparejsonld import CompareProperties
44

55

6-
class TestCompareProperties(unittest.TestCase):
6+
class ComparePropertiesTests(unittest.TestCase):
77
def setUp(self):
88
entity = {'entities':
99
{'Q1':

tests/test_compare_statements.py renamed to tests/tests_api_v2/test_compare_statements.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from entityshape.api_v2.comparejsonld import CompareStatements
44

55

6-
class TestCompareStatements(unittest.TestCase):
6+
class CompareStatementsTests(unittest.TestCase):
77
def setUp(self):
88
entities = {"entities":
99
{'Q1':
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from entityshape.app import app
99

1010

11-
class CompareV1V2(unittest.TestCase):
11+
class CompareV1V2Tests(unittest.TestCase):
1212
"""
1313
Testcases to test wikidata entityschemas against wikidata items
1414
"""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from entityshape.api_v2.getjsonld import JSONLDShape
1010

1111

12-
class JSONLDCase(unittest.TestCase):
12+
class JSONLDTests(unittest.TestCase):
1313
"""
1414
Testcases to test results from comparejsonld.py match those from comparejson.py
1515
"""
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from entityshape.app import app
1010

1111

12-
class MyTestCase(unittest.TestCase):
12+
class SchemasTests(unittest.TestCase):
1313
"""
1414
Testcases to test wikidata entityschemas against wikidata items
1515
"""

0 commit comments

Comments
 (0)