@given(u'we have pgcli installed')
def step_install_cli(_):
 dists = set([di.key for di in pip.get_installed_distributions()])
 assert (u'pgcli' in dists)

@ given ( u'we have pgcli installed' ) def step_install_cli ( _ ) : dists = set ( [ di . key for di in pip . get_installed_distributions ( ) ] ) assert ( u'pgcli' in dists )
check that pgcli is in installed modules .