File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
tests/test_apis/test_biocompute Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff 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 ):
You can’t perform that action at this time.
0 commit comments