We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ab686c commit 48fe593Copy full SHA for 48fe593
tests/test_wave_05.py
@@ -99,12 +99,9 @@ def test_get_goal(client, one_goal):
99
100
# Assert
101
assert response.status_code == 200
102
- assert "goal" in response_body
103
assert response_body == {
104
- "goal": {
105
- "id": 1,
106
- "title": "Build a habit of going outside daily"
107
- }
+ "id": 1,
+ "title": "Build a habit of going outside daily"
108
}
109
110
@@ -135,10 +132,8 @@ def test_create_goal(client):
135
132
assert response.status_code == 201
136
133
assert "goal" in response_body
137
134
138
139
140
- "title": "My New Goal"
141
+ "title": "My New Goal"
142
143
144
0 commit comments