Skip to content

Commit 8213344

Browse files
committed
fix test
1 parent faae722 commit 8213344

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_apis/test_biocompute/test_objects_drafts_create.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ def setUp(self):
4444
"contents": BCO_000001_DRAFT
4545
},
4646
{
47-
"object_id": "http://127.0.0.1:8000/TEST_000001/DRAFT",
47+
"object_id": "http://127.0.0.1:8000/TEST_000003/DRAFT",
4848
"prefix": "TEST",
4949
"contents": {
50-
"object_id": "https://biocomputeobject.org/TEST_000001/DRAFT",
50+
"object_id": "https://biocomputeobject.org/TEST_000003/DRAFT",
5151
"spec_version": "https://w3id.org/ieee/ieee-2791-schema/2791object.json",
5252
"etag": "11ee4c3b8a04ad16dcca19a6f478c0870d3fe668ed6454096ab7165deb1ab8ea"
5353
}
@@ -69,6 +69,7 @@ def test_successful_creation(self):
6969

7070
self.client.credentials(HTTP_AUTHORIZATION='Token ' + self.token.key)
7171
response = self.client.post('/api/objects/drafts/create/', self.data, format='json')
72+
print(response.data)
7273
self.assertEqual(response.status_code, 200)
7374

7475
def test_partial_failure(self):

0 commit comments

Comments
 (0)