16
16
"""Integration tests for the click CLI info command."""
21
22
from .helpers import ClickTestCase
24
25
class TestInfo(ClickTestCase):
27
28
path_to_click = self._make_click(name)
28
29
output = subprocess.check_output([
29
30
self.click_binary, "info", path_to_click], universal_newlines=True)
30
31
self.assertEqual(name, json.loads(output)["name"])
40
self.click_binary, "info", name], universal_newlines=True)
32
43
def test_info_file_in_package(self):
33
44
name = "org.example.info"