def grains():

    if not DETAILS.get('grains_cache', {}):
        cmd = 'info'

        # Send the command to execute
        out, err = DETAILS['server'].sendline(cmd)

        # "scrape" the output and return the right fields as a dict
        DETAILS['grains_cache'] = parse(out)

    return DETAILS['grains_cache']
Test that portal created by adder has two icons set
dataset/ETHPy150Open saltstack/salt/salt/proxy/ssh_sample.py/grains--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/unit/test_portaladder.py/TestPortalAdder.test_portal_has_icons