forked from chamajay/deepsense-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtests_app.py
39 lines (26 loc) · 869 Bytes
/
tests_app.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import json
import app
def test_mood_today():
client = app.mood_today()
response = client.get('/today-mood')
assert response is None
def test_mood_week():
client = app.mood_week()
response = client.get('/today-week')
assert response is None
def test_mood_month():
client = app.mood_month()
response = client.get('/today-month')
assert response is None
def test_mood_percentage_today():
client = app.mood_percentages_today()
response = client.get('/today_mood_percentages')
assert response is None
def test_mood_percentage_week():
client = app.mood_percentages_week()
response = client.get('/week_mood_percentages')
assert response is None
def test_mood_percentage_month():
client = app.mood_percentages_month()
response = client.get('/month_mood_percentages')
assert response is None