Permalink
Browse files

Update PyPT

Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information...
1 parent 0894125 commit 3a149ecd03f6e496164adaff53b7fd4d3fea03f7 @Kwpolska committed Jul 30, 2017
Showing with 6 additions and 3 deletions.
  1. +3 −0 .pypt/config
  2. +3 −3 release
View
@@ -19,3 +19,6 @@ LOCALETYPE="gettext-tx"
# Python versions supported.
PYTHON2=0
PYTHON3=1
+
+# Whether or not to create AUR -git packages. (true/false)
+AUR_GIT_PACKAGE="true"
View
@@ -149,15 +149,15 @@ status 'Generating locales...'
status 'Importing...'
python -c "import $PROJECTLC"
-if [[ $? == 1 ]]; then
+if [[ $? != 0 ]]; then
error "Import failed. Fix your code or don't come back."
exit 1
fi
if [[ -e tests ]]; then
status 'Running tests...'
- py.test tests/
- if [[ $? == 1 ]]; then
+ pytest tests/
+ if [[ $? != 0 ]]; then
error "Tests failed. Fix your code or don't come back."
exit 1
fi

0 comments on commit 3a149ec

Please sign in to comment.