def update(self):
    cmd = subprocess.Popen('git remote update', shell=True, stdout=subprocess.PIPE)
    cmd.wait()
    assert (cmd.returncode == 0), 'ERROR: git error'
    print('SUCCESS (updated)')
def update(self):
    cmd = subprocess.Popen('git remote update', shell=True, stdout=subprocess.PIPE)
    cmd.wait()
    assert (cmd.returncode == 0), 'ERROR: git error'
    print('SUCCESS (updated)')