Search.setIndex({envversion:48,filenames:["commands","env","fsasserts","index","tempdir"],objects:{"":{testpath:[2,0,0,"-"]},"testpath.MockCommand":{get_calls:[0,2,1,""]},"testpath.tempdir":{NamedFileInTemporaryDirectory:[4,1,1,""],TemporaryWorkingDirectory:[4,1,1,""]},testpath:{MockCommand:[0,1,1,""],assert_calls:[0,3,1,""],assert_isdir:[2,3,1,""],assert_isfile:[2,3,1,""],assert_islink:[2,3,1,""],assert_not_isdir:[2,3,1,""],assert_not_isfile:[2,3,1,""],assert_not_islink:[2,3,1,""],assert_not_path_exists:[2,3,1,""],assert_path_exists:[2,3,1,""],make_env_restorer:[1,3,1,""],modified_env:[1,3,1,""],tempdir:[4,0,0,"-"],temporary_env:[1,3,1,""]}},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:function"},terms:{"case":2,"class":[0,4],"default":[0,1,2],"function":[0,1],"new":1,"return":[0,1,4],"true":2,API:[0,1],Any:1,Argument:4,Assert:[0,2],Automat:4,Command:0,Complet:1,Content:3,Context:0,Creat:4,Exampl:1,Fals:[1,2],For:[0,1],Get:0,Index:3,Install:3,MockCommand:0,Modul:3,NamedFileInTemporaryDirectori:4,NamedTemporaryFil:4,None:[0,1,2,4],Open:4,PATH:[0,1],PYTHONPATH:1,Page:3,Python:[0,4],Rest:4,SHELL:1,Search:3,Snapshot:1,Specifi:1,Temporarili:1,TemporaryDirectori:4,TemporaryWorkingDirectori:4,TestCas:1,The:0,Thei:0,These:[0,1,2],Thi:[0,1,4],True:[1,2],Unix:0,Usage:4,Use:[0,1],Using:0,Utiliti:3,When:[1,2],Window:[0,4],With:2,You:4,access:0,add:0,addCleanup:1,addit:4,allow:1,also:[0,2],ani:[0,1],anyth:0,arg:0,argument:[0,4],argv:0,assert:2,assert_cal:0,assert_isdir:2,assert_isfil:2,assert_islink:2,assert_not_isdir:2,assert_not_isfil:2,assert_not_islink:2,assert_not_path_exist:2,assert_path_exist:2,backport:4,bash:1,becaus:4,befor:1,block:0,bufsiz:4,call:[0,1],can:[0,4],chang:[0,1],check:[0,2],cleanup:[1,4],close:4,cmd:0,code:[0,1,3],collect:3,contain:[0,4],content:0,context:[0,1,4],copi:4,coroutin:0,creat:0,current:1,cwd:[0,4],def:1,delet:[1,4],determin:0,dict:1,dictionari:[0,1],differ:0,dir:4,directori:[0,2,3],don:0,each:0,easi:2,els:0,empti:0,enter:1,env:0,environ:0,error:2,exampl:[1,4],exist:[0,2],exit:[0,1,4],explicitli:4,expos:4,extern:0,fail:2,file:[0,2,4],filenam:4,follow_symlink:2,foo:0,from:0,front:0,get_cal:0,git:0,given:[0,2],global:0,handl:4,how:0,includ:0,inform:2,insid:4,instal:3,intend:1,interfac:0,interpret:0,kei:0,kwd:4,least:0,leav:1,let:0,list:0,made:[0,1],mai:0,make:[1,2],make_env_restor:1,manag:[0,1,4],manipul:3,map:1,messag:2,mock:0,mockcmd:0,mode:4,modifi:1,modified_env:1,modul:[0,4],msg:2,multipl:0,my_path:1,myfil:[0,4],name:[0,1,4],need:4,newenv:1,next:1,noth:2,now:4,often:1,onc:0,onli:[1,4],open:4,other:1,out:1,over:[0,4],paramet:0,part:0,pass:[0,2,4],path:[0,2],pip:3,possibl:1,preced:0,prefer:4,prefix:4,previou:4,process:1,produc:1,provid:2,real:0,record:0,regular:2,reli:0,reopen:4,replac:[0,1],reset:1,restor:1,revert:4,run:[0,1],safe:0,same:0,script:0,self:1,set:4,setUp:1,shebang:0,shell:0,should:[0,1],snapshot:1,some_function_wrapping_git:0,some_other_funct:0,someth:[0,2],specif:1,specifi:[0,1,2],start:0,state:[0,1,2],string:0,stuff:4,suffix:4,symlink:2,take:0,target:2,techniqu:0,tempdir:4,tempfil:4,temporari:[0,3],temporarili:1,temporary_env:1,test:[0,1,3],testpath:[0,1,2,3,4],thei:[0,2],them:0,thi:[0,2],thing:4,thread:0,time:[0,4],tmp:4,tmpdir:4,tool:0,two:1,unittest:[0,1],upon:4,util:3,valu:1,variabl:0,wai:1,were:0,what:0,when:[1,4],whether:0,which:[0,1,3],whole:[1,4],wipe:1,without:4,work:0,write:4,written:0,you:[0,1],your:0},titles:["Mocking system commands","Modifying environment variables","Assertion functions for the filesystem","Testpath","Utilities for temporary directories"],titleterms:{"function":2,Assertion:2,Indice:3,Mock:0,Modifi:1,Testpath:3,Utiliti:4,command:0,directori:4,environ:1,filesystem:2,system:0,tabl:3,temporari:4,variabl:1}})