This file is indexed.

/usr/share/doc/python-requests-mock-doc/html/searchindex.js is in python-requests-mock-doc 0.7.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
Search.setIndex({envversion:46,filenames:["adapter","api/modules","api/requests_mock","contrib","fixture","history","index","matching","mocker","overview","readme","response"],objects:{"":{requests_mock:[2,0,0,"-"]},"requests_mock.Adapter":{add_matcher:[2,2,1,""],close:[2,2,1,""],register_uri:[2,2,1,""],send:[2,2,1,""]},"requests_mock.CookieJar":{set:[2,2,1,""]},"requests_mock.Mocker":{TEST_PREFIX:[2,4,1,""],copy:[2,2,1,""],decorate_callable:[2,2,1,""],decorate_class:[2,2,1,""]},"requests_mock.MockerCore":{"delete":[2,2,1,""],get:[2,2,1,""],head:[2,2,1,""],options:[2,2,1,""],patch:[2,2,1,""],post:[2,2,1,""],put:[2,2,1,""],request:[2,2,1,""],start:[2,2,1,""],stop:[2,2,1,""]},"requests_mock.adapter":{Adapter:[2,1,1,""]},"requests_mock.adapter.Adapter":{add_matcher:[2,2,1,""],close:[2,2,1,""],register_uri:[2,2,1,""],send:[2,2,1,""]},"requests_mock.contrib":{fixture:[2,0,0,"-"]},"requests_mock.contrib.fixture":{Fixture:[2,1,1,""]},"requests_mock.contrib.fixture.Fixture":{setUp:[2,2,1,""]},"requests_mock.exceptions":{InvalidRequest:[2,3,1,""],MockException:[2,3,1,""],NoMockAddress:[2,3,1,""]},requests_mock:{Adapter:[2,1,1,""],CookieJar:[2,1,1,""],MockException:[2,3,1,""],Mocker:[2,1,1,""],MockerCore:[2,1,1,""],NoMockAddress:[2,3,1,""],adapter:[2,0,0,"-"],create_response:[2,5,1,""],exceptions:[2,0,0,"-"],mock:[2,4,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","exception","Python exception"],"4":["py","attribute","Python attribute"],"5":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:exception","4":"py:attribute","5":"py:function"},terms:{"_requesthistorytrack":2,"byte":[2,11],"case":[2,4,8],"class":[2,4,6],"default":[2,8,11],"function":[2,7,8,11],"import":[0,4,5,7,8,10],"int":2,"long":7,"new":2,"return":[2,5,7,8,9,10,11],"super":4,"true":[2,5,7,8],about:[8,11],accompani:11,acm:2,act:7,activ:6,actual:9,adatp:10,add:[2,7,11],add_match:[2,7],address:7,advanc:11,against:7,agre:10,alia:2,all:[4,7,10,11],allow:[9,10,11],also:[5,7,8,9],anchor:7,ani:[0,6],anoth:7,anyth:7,apach:10,appli:2,applic:[3,10],arg:2,argument:[7,8,11],around:[2,5],assertequ:4,attribut:2,autom:2,avail:[2,7,11],bar:11,base:2,baseadapt:2,basi:10,basic:8,baz:11,becaus:[7,11],been:2,begin:2,behavior:8,best:9,binari:11,block:10,bodi:[2,11],bool:[2,8],both:11,build:[10,11],call:2,call_count:5,callabl:[2,7],callback:11,can:[2,5,7,8,9,10,11],cannot:2,capabl:5,certain:[7,9,10],chang:11,check:[5,7],checkout:10,close:[2,8,11],code:[2,10,11],coincid:11,collect:11,com:[4,5,7,8,10,11],comment:2,comment_url:2,common:[2,3,8],compil:7,complet:7,complete_q:7,complianc:10,compon:7,concept:9,condit:10,conflict:8,conjunct:7,connect:2,construct:11,contain:[2,9,11],content:1,continu:11,contrib:[2,3,4],convert:[2,5,11],cooki:[2,6],cookiejar:[2,11],cookielib:2,copi:[2,10],core:9,correctli:8,correspond:8,create_respons:2,creation:11,current:2,custom:[2,6],custom_match:7,data:[5,10,11],date:2,dealt:5,decor:[2,6],decorate_cal:2,decorate_class:2,def:[4,7,8,10,11],delet:[2,8],depend:[3,4,11],dict:2,dictionari:[2,7,11],differ:[8,9,11],directli:11,discard:2,distribut:10,doc:10,doe:[7,11],domain:[2,11],downgrad:2,dynam:6,easiest:5,either:10,element:11,ensur:8,entri:2,environ:2,epoch:2,eventu:10,everi:8,everyth:10,exact:2,exactli:[8,11],exampl:[7,10,11],except:1,execut:2,exhaust:11,exist:8,expir:2,expiri:[2,11],explain:2,express:6,fake:2,fals:8,file:[7,10,11],find:8,fixtur:1,flag:7,flexibl:7,follow:8,foo:[8,11],foo_on:8,foo_two:8,form:[7,11],format:[5,11],forward:8,found:[8,11],from:[2,4,5,8,9,11],func:2,futher:8,gener:[2,5],get:[2,4,5,7,8,10,11],get_adapt:4,given:[7,11],goal:8,goe:[7,10],googl:[4,8],govern:10,handl:[6,7,8],handler:9,have:[2,4,7,8,10],head:[2,8],header:[2,6],helper:4,hit:5,how:[7,8,9,11],howev:[0,2],http:[2,4,5,6],httprespons:[2,11],ignor:7,impact:2,impli:10,inbuilt:7,includ:[3,5,11],index:6,inform:[5,8,10,11],initi:11,instal:2,instead:8,integ:2,interact:0,intercept:[2,8],interfac:[4,5,8,11],intern:7,invalidrequest:2,iobas:2,isn:10,itself:8,jar:[2,11],json:[2,5,11],just:[7,11],keep:2,kei:[2,7,11],keyword:[8,11],kind:10,klass:2,known:[9,11],kwarg:[2,8],languag:10,last:[7,8,11],last_request:4,launchpad:10,law:10,least:7,len:5,less:7,librari:[2,4,8,9,11],like:[7,8,11],limit:[9,10],link:2,list:[6,7],list_path:11,load:[0,2],logic:9,made:[0,2,7],mai:[2,3,10],make:[5,9,11],match:[2,6],matcher:[2,7],mean:[0,7],mechan:[3,8,9],merg:11,method:[2,4,5,6,7],mimic:8,mock:[0,2,4,5],mocker:[2,5,6,7],mockercor:2,mockexcept:2,modifi:11,modul:1,more:[5,7,10,11],most:[7,11],mount:[0,7,10],multipl:11,must:[3,11],mytestcas:4,name:[2,11],need:[4,7],netscap:2,next:7,nomockaddress:[2,7],none:[2,7],normal:[7,8,11],note:2,number:[9,10,11],object:2,obtain:10,obvious:10,onli:[0,2,7,9,11],option:[2,8,9,11],order:11,org:10,other:[7,8],our:0,out:10,outsid:3,over:2,overview:6,own:[7,9],packag:1,page:6,paramet:[2,8,11],pars:5,parse_q:5,part:7,particularli:9,pass:[5,7,8,11],patch:[2,8],patcher:8,path:[2,6],path_url:7,per:11,permiss:10,place:[7,8,10,11],pleas:10,pluggabl:9,point:[0,2],polici:2,popul:11,port:2,portion:10,posit:8,possibl:[7,8,11],post:[2,4,7,8],predefin:[2,10],prefer:7,prefix:[8,10],preload:9,prepopul:11,prevent:2,print:8,problem:7,process:2,project:[7,9,11],properti:[5,11],protocol:[7,9],provid:[3,4,7,8,9,10,11],put:[2,8],python:[2,5,7,11],queri:[5,6],raw:[2,11],read:[2,11],real:6,real_http:8,reason:11,recent:7,recognis:8,refer:9,reflect:11,regex:7,regist:[2,5,6,7,9],register_uri:[2,4,7,8,10,11],regular:6,repeat:2,replac:7,repres:2,request:[0,2,4],request_head:7,request_histori:5,request_mock:2,requests_mock:0,requestscookiejar:2,requir:[2,3,10],resp1:11,resp2:11,resp:[4,5,7,8,10,11],respa:4,respb:4,respond:5,respons:[2,6,7,9,10],response_list:2,retriev:[5,7],reusabl:4,rfc:2,rocket_launch:2,same:[0,2,4,7,8,11],search:[6,7],second:2,secur:2,see:[5,10],self:[4,8],send:2,sens:11,sent:0,serv:4,server:[2,8],session:[0,2,4,7,10,11],set:[2,8,11],setup:[2,4],should:[2,7,10,11],similar:8,simpl:6,simpli:[5,9],sinc:2,situat:7,softwar:10,some:5,sourc:2,special:7,specif:10,specifi:[7,11],standard:[0,2,5],start:[0,2,7,8],state:4,statu:[2,11],status_cod:[2,7,8,10,11],stop:2,str:2,string:[2,5,6],stub:10,subpackag:1,success:[2,7,11],suitabl:11,suppli:7,support:3,sure:9,symbol:7,syntax:[7,11],take:[2,7,8,11],test1:11,test2:11,test:[2,4,5,7,8,9,10,11],test_func:10,test_funct:8,test_kw_funct:8,test_method:4,test_prefix:[2,8],test_url:4,testcas:4,tester:7,testload:8,testtool:4,text:[2,4,5,7,8,10,11],text_callback:11,textual:[7,11],than:[2,7],thei:[8,9,11],thi:[0,2,5,7,8,9,10,11],thing:8,those:[7,11],through:[5,7,10],traceback:7,track:5,transport:[9,10],treat:11,turn:11,two:[8,11],typic:11,under:[2,10],unicod:[2,5,11],unit:9,unittest:8,unless:10,upon:2,uri:[0,2,5,7,9,10,11],url:[2,4,5,7,10,11],urllib3:11,urllib:5,usefixtur:4,user:5,val:7,valu:[2,11],value1:11,value2:11,variabl:11,veri:9,version:[2,10],wai:[0,4,5,7,8,9,11],want:[7,8,9,11],warranti:10,well:8,what:[3,8,11],whatev:[7,9],when:[7,8,10],where:9,which:[2,7,8],whilst:[7,11],whole:[7,8],wildcard:7,wish:[7,11],within:[7,11],without:[9,10],work:[8,9,10,11],workabl:5,would:8,wrap:8,wrapper:[2,5],write:10,wrong:7,www:[4,7,8,10],you:[7,8,9,10,11],your:[4,7,8,9,10,11]},titles:["Adapter Usage","requests_mock","requests_mock package","Additional Loading","Fixtures","Request History","Welcome to requests-mock’s documentation!","Request Matching","Using the Mocker","Overview","requests-mock","Creating Responses"],titleterms:{"class":8,activ:8,adapt:[0,2],addit:3,ani:7,basic:10,bug:10,call:5,content:2,context:8,cooki:11,creat:[0,11],custom:7,decor:8,document:6,dynam:11,except:2,express:7,fixtur:[2,4],handl:11,header:7,histori:5,http:8,indic:6,intro:10,licens:10,list:11,load:3,manag:8,match:7,method:8,mock:[6,10],mocker:8,modul:2,object:5,overview:9,packag:2,path:7,queri:7,real:8,regist:11,regular:7,report:10,request:[5,6,7,8,10],requests_mock:[1,2],respons:11,simpl:7,string:7,subpackag:2,tabl:6,usag:0,welcom:6}})