def gid(username):
  try:
    return int(execute("getent passwd %s" % (username)).split(':')[3])
  except:
    return -1
Hypergraph link-unlink-link test. It makes sure that unlink cleans 
dataset/ETHPy150Open NumentaCorp/agamotto/agamotto/user.py/gid--crossover with--dataset/ETHPy150Open pmatiello/python-graph/tests/unittests-hypergraph.py/test_hypergraph.test_hypergraph_link_unlink_link