message
Change-Id: I695d85abab6a42daffd98b83d1243e983a981d84
diff --git a/API/back/tests/test_basic.py b/API/back/tests/test_basic.py
new file mode 100644
index 0000000..561052d
--- /dev/null
+++ b/API/back/tests/test_basic.py
@@ -0,0 +1,14 @@
+import pytest
+from app import create_app
+
+@pytest.fixture
+def client():
+ app = create_app()
+ app.config['TESTING'] = True
+ return app.test_client()
+
+def test_index(client):
+ rv = client.get('/')
+ assert rv.status_code == 200
+ json_data = rv.get_json()
+ assert json_data['message'] == 'Hello, Flask!'