def test_find_tools_returns_empty_dict_if_no_tools_are_found(): tools = ('fakeoptipng',) cmds = helpers.find_tools(tools) assert cmds == {}
def test_find_tools_returns_empty_dict_if_no_tools_are_found(): tools = ('fakeoptipng', ) cmds = helpers.find_tools(tools) assert cmds == {}
def test_find_tools_finds_them(): tools = ('optipng',) cmds = helpers.find_tools(tools) path = os.path.join(TOOLS_DIR, 'optipng') assert cmds['optipng'] == path
def test_find_tools_finds_them(): tools = ('optipng', ) cmds = helpers.find_tools(tools) path = os.path.join(TOOLS_DIR, 'optipng') assert cmds['optipng'] == path