

def test_subcommands(self):
    'Subcommands can be autocompleted'
    self._user_input('django-admin.py sql')
    output = self._run_autocomplete()
    self.assertEqual(output, ['sql sqlall sqlclear sqlcustom sqlflush sqlindexes sqlinitialdata sqlsequencereset'])

dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/tests/regressiontests/bash_completion/tests.py BashCompletionTests.test_subcommands/original