We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37cff94 commit b4e3deeCopy full SHA for b4e3dee
tests/cli/commands/test_summary.py
@@ -0,0 +1,17 @@
1
+from typing import Callable, List
2
+
3
+from click import Command, Group
4
5
+from stactools.cli.commands.summary import create_summary_command
6
+from stactools.testing.cli_test import CliTestCase
7
+from tests import test_data
8
9
10
+class SummaryTest(CliTestCase):
11
+ def create_subcommand_functions(self) -> List[Callable[[Group], Command]]:
12
+ return [create_summary_command]
13
14
+ def test_summary(self) -> None:
15
+ path = test_data.get_path("data-files/planet-disaster/collection.json")
16
+ result = self.run_command(f"summary {path}")
17
+ self.assertEqual(0, result.exit_code)
0 commit comments