Skip to content

Commit

Permalink
Merge pull request #31 from timshik/initTest
Browse files Browse the repository at this point in the history
Test - Verify the application is running
  • Loading branch information
simzacks authored Apr 20, 2020
2 parents 4e9196a + a386cad commit 9ea9277
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/init_test.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import unittest
import requests

class Tester(unittest.TestCase):
def test_home(self):
response = requests.get("http://127.0.0.1:5000")
self.assertEqual(response.status_code, 200)


if __name__ == '__main__':
unittest.main()

0 comments on commit 9ea9277

Please sign in to comment.