Skip to content
Snippets Groups Projects
Commit 327e1dd2 authored by Ijaz Ahmad's avatar Ijaz Ahmad
Browse files

Update app.py, test_app.py files

parent 0e70a965
No related branches found
No related tags found
No related merge requests found
......@@ -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()
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