'tests that GalaxyCLI exits without the error specified if the --ignore-errors flag is used'

def test_exit_without_ignore_with_flag(self):

    gc = GalaxyCLI(args=['install', '--server=None', 'fake_role_name', '--ignore-errors'])
    gc.parse()
    with patch.object(ansible.utils.display.Display, 'display', return_value=None) as mocked_display:
        gc.run()
        self.assertTrue(mocked_display.called_once_with("-    downloading    role    'fake_role_name',    owned    by    "))
