import click
from pim.cli import cli

def test_import():
	assert isinstance(cli, click.core.Group)

def test_commands():
	assert cli.commands.keys() == ['init', 'ls', 'install', 'uninstall']
@@ -122,16 +122,21 @@
 %09assert 
+list(
 cli.comm
@@ -146,16 +146,17 @@
 s.keys()
+)
  == %5B'in

fix for py 3.4