Skip to content

Commit eaaa3f7

Browse files
Fix rebase
1 parent 8518267 commit eaaa3f7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_subject.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ def test_update_one__public(client, json_data):
132132
assert data["error_code"] == "ENTITY_NOT_FOUND"
133133

134134

135-
def test_read_one(client, client_admin, model_id, json_data):
135+
def test_read_one(client, client_admin, model_id, json_data, json_data_partial):
136136
data = assert_request(client.get, url=f"{ROUTE}/{model_id}").json()
137137
_assert_read_response(data, json_data)
138138

139139
# Test read subject without strain
140-
model_id = assert_request(client.post, url=ROUTE, json=json_data_partial).json()["id"]
141-
data = assert_request(client.get, url=f"{ROUTE}/{model_id}").json()
140+
partial_model_id = assert_request(client.post, url=ROUTE, json=json_data_partial).json()["id"]
141+
data = assert_request(client.get, url=f"{ROUTE}/{partial_model_id}").json()
142142
_assert_read_response(data, json_data_partial)
143143

144144
data = assert_request(client_admin.get, url=f"{ADMIN_ROUTE}/{model_id}").json()

0 commit comments

Comments
 (0)