def main(ctx):
    which = "where" if sys.platform == "win32" else "which"
    if envoy.run(which + " git").status_code != 0:
        click.secho("fatal: git not found in PATH", fg="red")
        sys.exit(1)
    ctx.obj = Hydrogen()
def test_base_class_get_change_list_for_accepting_suggestion_raises_error(
            self):
        with self.assertRaisesRegex(
            NotImplementedError,
            'Subclasses of BaseSuggestion should implement '
            'get_change_list_for_accepting_suggestion.'):
            self.base_suggestion.get_change_list_for_accepting_suggestion()