-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
453352d
commit 821893a
Showing
7 changed files
with
36 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from django.test import TestCase | ||
|
||
from views import index | ||
from app.views import index | ||
|
||
|
||
# Create your tests here. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/expect -f | ||
# To be used primarily in CI (continuous integration) | ||
set timeout 360 | ||
set BRANCH_NAME $env(BRANCH_NAME) | ||
|
||
spawn vue init NdagiStanley/vue-django#$BRANCH_NAME my-project | ||
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 | ||
} |