diff --git a/template/app/tests.py b/template/app/tests.py index aca04f1..c73919a 100644 --- a/template/app/tests.py +++ b/template/app/tests.py @@ -1,6 +1,6 @@ from django.test import TestCase -from views import index +from app.views import index # Create your tests here. diff --git a/vue-cli-interaction.exp b/vue-cli-interaction.exp index ce4fc9e..4441e21 100644 --- a/vue-cli-interaction.exp +++ b/vue-cli-interaction.exp @@ -1,19 +1,19 @@ -#!/usr/bin/expect +#!/usr/bin/expect -f set timeout 360 spawn vue init NdagiStanley/vue-django my-project - -expect "Project name" { send "\n" } -expect "Project version" { send "\n" } -expect "Project description" { send "\n" } -expect "Author" { send "\n" } -expect "private" { send "\n" } -expect "Vue build" { send "\n" } -expect "Install vue-router?" { send "\n" } -expect "Use ESLint to lint your code?" { send "\n" } -expect "Pick an ESLint preset" { send "\n" } -expect "Setup unit tests" { send "\n" } -expect "Pick a test runner" { send "\n" } -expect "Setup e2e tests with Nightwatch?" { send "\n" } - -interact +expect { + "Project name" { send "\n"; exp_continue } + "Project version" { send "\n"; exp_continue } + "Project description" { send "\n"; exp_continue } + "Author" { send "\n"; exp_continue } + "private" { send "\n"; exp_continue } + "Vue build" { send "\n"; exp_continue } + "Install vue-router?" { send "\n"; exp_continue } + "Use ESLint to lint your code?" { send "\n"; exp_continue } + "Pick an ESLint preset" { send "\n"; exp_continue } + "Setup unit tests" { send "\n"; exp_continue } + "Pick a test runner" { send "\n"; exp_continue } + "Setup e2e tests with Nightwatch?" { send "\n"; exp_continue } + eof +}