@@ -35,7 +35,6 @@ def test_create(client: FlaskClient, oidc_token_write: Dict):
3535 (resp , resp_body ) = rac .create (name = 'Test Resource 1' )
3636 assert resp .status_code == 201
3737 assert resp_body ['id' ] == 1
38- #assert resp_body['owner'] == oidc_token_write['jwt']['sub']
3938 assert resp_body ['name' ] == 'Test Resource 1'
4039
4140
@@ -47,13 +46,11 @@ def test_modify(client: FlaskClient, oidc_token_write):
4746 (resp , resp_body ) = rac .create (name = 'Test Resource Original' )
4847 assert resp .status_code == 201
4948 assert resp_body ['id' ] == 1
50- #assert resp_body['owner'] == oidc_token_write['jwt']['sub']
5149 assert resp_body ['name' ] == 'Test Resource Original'
5250
5351 (resp , resp_body ) = rac .modify (1 , name = 'Test Resource Modified' )
5452 assert resp .status_code == 200
5553 assert resp_body ['id' ] == 1
56- #assert resp_body['owner'] == oidc_token_write['jwt']['sub']
5754 assert resp_body ['name' ] == 'Test Resource Modified'
5855
5956
@@ -107,5 +104,4 @@ def test_get_one(client: FlaskClient, oidc_token_read, oidc_token_write):
107104 (resp , resp_body ) = rac_read .get_one (1 )
108105 assert resp .status_code == 200
109106 assert resp_body ['id' ] == 1
110- #assert resp_body['owner'] == oidc_token_write['jwt']['sub']
111107 assert resp_body ['name' ] == 'Test Resource 3'
0 commit comments