Skip to content

Commit 35d38bb

Browse files
committed
Revert an accidentally removed test.
1 parent 010d5e1 commit 35d38bb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

jsonschema/tests/test_cli.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,13 @@ def test_useless_error_format(self):
881881

882882

883883
class TestCLIIntegration(TestCase):
884+
def test_license(self):
885+
output = subprocess.check_output(
886+
[sys.executable, "-m", "pip", "show", "jsonschema"],
887+
stderr=subprocess.STDOUT,
888+
)
889+
self.assertIn(b"License: MIT", output)
890+
884891
def test_version(self):
885892
version = subprocess.check_output(
886893
[sys.executable, "-m", "jsonschema", "--version"],

0 commit comments

Comments
 (0)