[Python-modules-commits] [flask-mongoengine] 01/01: Fix port in	debian tests (simpleapp).
    Adrian Vondendriesch 
    discostu-guest at moszumanska.debian.org
       
    Fri Dec  1 15:11:18 UTC 2017
    
    
  
This is an automated email from the git hooks/post-receive script.
discostu-guest pushed a commit to branch debian/master
in repository flask-mongoengine.
commit b250e3a8e3985ddf97701e688a8eb3f62a6618e9
Author: Adrian Vondendriesch <adrian.vondendriesch at credativ.de>
Date:   Fri Dec 1 16:10:16 2017 +0100
    Fix port in debian tests (simpleapp).
    
    The previous test ueses a hardcoded totaly unrelated ip address.
    Fix this by using localhost.
---
 debian/tests/simpleapp/app.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/tests/simpleapp/app.py b/debian/tests/simpleapp/app.py
index 4f952b4..7aa8451 100644
--- a/debian/tests/simpleapp/app.py
+++ b/debian/tests/simpleapp/app.py
@@ -11,7 +11,7 @@ from flask_mongoengine import MongoEngine
 
 app = flask.Flask(__name__)
 app.config.from_object(__name__)
-app.config['MONGODB_SETTINGS'] = {'DB': 'testing', 'host': '192.168.122.61'}
+app.config['MONGODB_SETTINGS'] = {'DB': 'testing', 'host': '127.0.0.1'}
 app.config['TESTING'] = True
 app.config['SECRET_KEY'] = 'flask+mongoengine=<3'
 app.debug = True
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/flask-mongoengine.git
    
    
More information about the Python-modules-commits
mailing list