Commit 327e1dd2 authored by Ijaz Ahmad's avatar Ijaz Ahmad
Browse files

Update app.py, test_app.py files

parent 0e70a965
......@@ -18,7 +18,7 @@ app = Flask('hello-gitlab')
@app.route('/wp/python-app')
def hello():
return "Python on K8s!\n"
return "Python2.7 on K8s!\n"
if __name__ == '__main__':
app.run(host = '0.0.0.0', port = 8080)
......
......@@ -18,7 +18,7 @@ from app import hello
class TestHelloApp(unittest.TestCase):
def test_hello(self):
self.assertEqual(hello(), "Python on K8s!\n")
self.assertEqual(hello(), "Python2.7 on K8s!\n")
if __name__ == '__main__':
unittest.main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment