summaryrefslogtreecommitdiff
path: root/service/go
diff options
context:
space:
mode:
Diffstat (limited to 'service/go')
-rwxr-xr-xservice/go9
1 files changed, 7 insertions, 2 deletions
diff --git a/service/go b/service/go
index e7864bdc..7002b2c5 100755
--- a/service/go
+++ b/service/go
@@ -17,10 +17,11 @@ function resolveNumOfCores {
function setuppy {
echo "Installing Pixelated User Agent."
+ pip install -r develop_requirements.txt
pip install -r test_requirements.txt
python setup.py develop $*
pip uninstall -y scrypt; pip install scrypt
- pip uninstall -y gnupg; pip install gnupg==1.2.5
+ pip uninstall -y gnupg; pip install gnupg==2.0.2
echo "Done."
}
@@ -43,6 +44,10 @@ function runIntegrationTests {
function runUnitTests {
echo "Executing Unit Tests."
+ if [ -f ~/.config/leap/events/zmq_certificates/public_keys/server.key ] ; then
+ echo "Removing zmq server.key before running tests."
+ rm ~/.config/leap/events/zmq_certificates/public_keys/server.key
+ fi
trial --reporter=text $* test.unit
echo "Done."
}
@@ -77,7 +82,7 @@ function runCoverageIntegration {
getTrialAbsolutePath
coverage run -p --source=pixelated $TRIAL_PATH --reporter=text $* test.integration
coverage combine
- coverage html
+ coverage html --ignore-errors
echo "Done."
}