class DjangoCompletion < Formula desc "Bash completion for Django" homepage "https://github.com/django/django" url "https://github.com/django/django/archive/3.0.2.tar.gz" sha256 "ca316b1179a16931ed872ce970aabefcf3d41fe0d4b1a8e1301ec59e1e0ab45b" head "https://github.com/django/django.git" bottle :unneeded def install bash_completion.install "extras/django_bash_completion" => "django" end test do assert_match "-F _django_completion", shell_output("source #{bash_completion}/django && complete -p django-admin.py") end end