Commit 1cf6dfe 1 parent 77d5d67 commit 1cf6dfe Copy full SHA for 1cf6dfe
File tree 1 file changed +3
-2
lines changed
src/openklant/components/klantinteracties/api/tests
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,16 @@ def test_read_partij_and_partij_identificatoren(self):
115
115
116
116
self .assertEqual (response .status_code , status .HTTP_200_OK )
117
117
data = response .json ()
118
+ url = "http://testserver/klantinteracties/api/v1"
118
119
self .assertEqual (
119
120
data ["partijIdentificatoren" ],
120
121
[
121
122
{
122
123
"uuid" : str (partij_identificator .uuid ),
123
- "url" : f"http://testserver/klantinteracties/api/v1 /partij-identificatoren/{ str (partij_identificator .uuid )} " ,
124
+ "url" : f"{ url } /partij-identificatoren/{ str (partij_identificator .uuid )} " ,
124
125
"identificeerdePartij" : {
125
126
"uuid" : str (partij .uuid ),
126
- "url" : f"http://testserver/klantinteracties/api/v1 /partijen/{ str (partij .uuid )} " ,
127
+ "url" : f"{ url } /partijen/{ str (partij .uuid )} " ,
127
128
},
128
129
"anderePartijIdentificator" : "society" ,
129
130
"partijIdentificator" : {
You can’t perform that action at this time.
0 commit comments