Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias alias alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call NameLoad Str Str decorator_list Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore ListLoad Str Str Str body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str TupleLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Dict Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Str Str decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Dict Str Dict Str Str Str Str Str NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore ListLoad Str Str Str body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str TupleLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Dict Str Dict Str Str Str Str Str NameLoad keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Str Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str TupleLoad Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Dict Str Dict Str Str ListLoad NameLoad Dict Str Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str For NameStore ListLoad Str Str Str body Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Str TupleLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr AttributeLoad NameLoad attr Dict Str Dict Str Str ListLoad NameLoad Dict Str Num keyword Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Num Index Str Str decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr keyword Str
N/A N/A unittest pyramid testing openprocurement.api.auth AuthenticationPolicy pyramid.tests.test_authentication TestBasicAuthAuthenticationPolicy openprocurement.api.tests.base test_tender_data test_organization BaseWebTest BaseTenderWebTest AuthTest N/A TestBasicAuthAuthenticationPolicy N/A _makeOne N/A N/A self check N/A N/A N/A N/A AuthenticationPolicy src/openprocurement/api/tests/auth.ini SomeRealm N/A N/A test_authenticated_userid_utf8 None N/A test_authenticated_userid_latin1 None test_unauthenticated_userid_bearer N/A N/A self N/A N/A N/A request N/A N/A testing DummyRequest N/A N/A N/A request headers N/A Authorization Bearer chrisr N/A policy N/A N/A self _makeOne None N/A N/A N/A self assertEqual N/A N/A policy unauthenticated_userid request chrisr N/A N/A AccreditationTenderTest N/A BaseWebTest N/A test_create_tender_accreditation N/A N/A self N/A N/A N/A N/A N/A self app authorization N/A Basic N/A broker1 N/A response N/A N/A N/A self app post_json /tenders N/A data test_tender_data N/A N/A N/A self assertEqual N/A response status 201 Created N/A N/A N/A self assertEqual N/A response content_type application/json N/A broker N/A broker2 broker3 broker4 N/A N/A N/A N/A self app authorization N/A Basic N/A broker N/A response N/A N/A N/A self app post_json /tenders N/A data test_tender_data status 403 N/A N/A N/A self assertEqual N/A response status 403 Forbidden N/A N/A N/A self assertEqual N/A response content_type application/json N/A N/A N/A self assertEqual N/A N/A N/A N/A response json N/A errors N/A 0 N/A description Broker Accreditation level does not permit tender creation N/A N/A AccreditationTenderQuestionTest N/A BaseTenderWebTest N/A test_create_tender_question_accreditation N/A N/A self N/A N/A N/A N/A N/A self app authorization N/A Basic N/A broker2 N/A response N/A N/A N/A self app post_json N/A N/A /tenders/{}/questions format N/A self tender_id N/A data N/A title description author question title question description test_organization N/A N/A N/A self assertEqual N/A response status 201 Created N/A N/A N/A self assertEqual N/A response content_type application/json N/A broker N/A broker1 broker3 broker4 N/A N/A N/A N/A self app authorization N/A Basic N/A broker N/A response N/A N/A N/A self app post_json N/A N/A /tenders/{}/questions format N/A self tender_id N/A data N/A title description author question title question description test_organization status 403 N/A N/A N/A self assertEqual N/A response status 403 Forbidden N/A N/A N/A self assertEqual N/A response content_type application/json N/A N/A N/A self assertEqual N/A N/A N/A N/A response json N/A errors N/A 0 N/A description Broker Accreditation level does not permit question creation N/A N/A AccreditationTenderBidTest N/A BaseTenderWebTest N/A N/A initial_status active.tendering test_create_tender_bid_accreditation N/A N/A self N/A N/A N/A N/A N/A self app authorization N/A Basic N/A broker2 N/A response N/A N/A N/A self app post_json N/A N/A /tenders/{}/bids format N/A self tender_id N/A data N/A tenderers value N/A test_organization N/A amount 500 N/A N/A N/A self assertEqual N/A response status 201 Created N/A N/A N/A self assertEqual N/A response content_type application/json N/A broker N/A broker1 broker3 broker4 N/A N/A N/A N/A self app authorization N/A Basic N/A broker N/A response N/A N/A N/A self app post_json N/A N/A /tenders/{}/bids format N/A self tender_id N/A data N/A tenderers value N/A test_organization N/A amount 500 status 403 N/A N/A N/A self assertEqual N/A response status 403 Forbidden N/A N/A N/A self assertEqual N/A response content_type application/json N/A N/A N/A self assertEqual N/A N/A N/A N/A response json N/A errors N/A 0 N/A description Broker Accreditation level does not permit bid creation N/A N/A suite N/A N/A N/A N/A N/A suite N/A N/A unittest TestSuite N/A N/A N/A suite addTest N/A N/A unittest makeSuite AuthTest N/A suite N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main defaultTest suite