

def test_removing_group_keep_warning_user(qisrc_action, git_server, record_messages):
    git_server.create_group('foo', ['a.git'])
    git_server.create_group('bar', ['b.git'])
    qisrc_action('init', git_server.manifest_url, '--group', 'foo', '--group', 'bar')
    git_server.remove_group('foo')
    qisrc_action('sync')
    assert record_messages.find('Group foo not found in the manifest')
    record_messages.reset()
    qisrc_action('sync')
    assert record_messages.find('Group foo not found in the manifest')

dataset/ETHPy150Open aldebaran/qibuild/python/qisrc/test/test_qisrc_sync.py test_removing_group_keep_warning_user/original