Skip to content
This repository has been archived by the owner on Feb 26, 2021. It is now read-only.

Commit

Permalink
Merge pull request #31 from cstrap/develop
Browse files Browse the repository at this point in the history
Better error message
  • Loading branch information
cstrap committed Oct 3, 2017
2 parents ef3a0cd + c6f5f52 commit ef32ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python_vuejs/django.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,4 @@ def djstartvueapp(ctx, project):
ctx.forward(djangofy)
ctx.invoke(djangofy, project=project)
else:
click.echo(click.style('Invalid django project directory', fg='red'))
click.echo(click.style('Invalid django project directory. `manage.py` not found.', fg='red'))
2 changes: 1 addition & 1 deletion tests/test_django_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ def test_djstartvueapp_django_ok(self):

def test_djstartvueapp_django_ko(self):
result = self.runner.invoke(cli.cli, ['djstartvueapp', 'myapp'])
self.assertEqual('Creating myapp\nInvalid django project directory\n', result.output)
self.assertEqual('Creating myapp\nInvalid django project directory. `manage.py` not found.\n', result.output)

0 comments on commit ef32ca7

Please sign in to comment.