diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-06-26 08:43:56 +0200 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-06-26 08:43:56 +0200 |
commit | 35d38bbee7b4c4debb6b40e0370ed7cfa2609167 (patch) | |
tree | 029279934d85f9073c8a1d93238e3419073e7141 | |
parent | 010d5e11ca20d2d94aea127741fc33b60cf1fe4c (diff) | |
download | jsonschema-35d38bbee7b4c4debb6b40e0370ed7cfa2609167.tar.gz |
Revert an accidentally removed test.
-rw-r--r-- | jsonschema/tests/test_cli.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jsonschema/tests/test_cli.py b/jsonschema/tests/test_cli.py index d26d289..884a037 100644 --- a/jsonschema/tests/test_cli.py +++ b/jsonschema/tests/test_cli.py @@ -881,6 +881,13 @@ class TestParser(TestCase): class TestCLIIntegration(TestCase): + def test_license(self): + output = subprocess.check_output( + [sys.executable, "-m", "pip", "show", "jsonschema"], + stderr=subprocess.STDOUT, + ) + self.assertIn(b"License: MIT", output) + def test_version(self): version = subprocess.check_output( [sys.executable, "-m", "jsonschema", "--version"], |