Improvements to skylark tests
Improvements to skylark tests

Debug the rule_test generates feature.
Implement the rule_test provides feature, using regexp on the provider repr.

Also, add docstrings and reformat to comply with Google python style guide.

--
MOS_MIGRATED_REVID=98687673

aehlig/bazel,dropbox/bazel,nkhuyu/bazel,Topher-the-Geek/bazel,aehlig/bazel,dslomov/bazel,zhexuany/bazel,kamalmarhubi/bazel,akira-baruah/bazel,d/bazel,joshua0pang/bazel,zhexuany/bazel,variac/bazel,katre/bazel,Digas29/bazel,wakashige/bazel,rhuss/bazel,akira-baruah/bazel,nkhuyu/bazel,asarazan/bazel,hhclam/bazel,davidzchen/bazel,kamalmarhubi/bazel,kamalmarhubi/bazel,akira-baruah/bazel,Digas29/bazel,juhalindfors/bazel-patches,murugamsm/bazel,dhootha/bazel,d/bazel,dslomov/bazel,mikelikespie/bazel,spxtr/bazel,Topher-the-Geek/bazel,manashmndl/bazel,dropbox/bazel,bitemyapp/bazel,asarazan/bazel,vt09/bazel,twitter-forks/bazel,murugamsm/bazel,wakashige/bazel,vt09/bazel,rhuss/bazel,kchodorow/bazel,mrdomino/bazel,damienmg/bazel,dslomov/bazel-windows,nkhuyu/bazel,werkt/bazel,charlieaustin/bazel,dslomov/bazel-windows,damienmg/bazel,safarmer/bazel,ulfjack/bazel,nkhuyu/bazel,rohitsaboo/bazel,kidaa/bazel,Topher-the-Geek/bazel,mikelalcon/bazel,charlieaustin/bazel,mbrukman/bazel,variac/bazel,perezd/bazel,UrbanCompass/bazel,kchodorow/bazel-1,meteorcloudy/bazel,dhootha/bazel,perezd/bazel,werkt/bazel,werkt/bazel,vt09/bazel,joshua0pang/bazel,mikelalcon/bazel,perezd/bazel,dropbox/bazel,charlieaustin/bazel,Krasnyanskiy/bazel,ulfjack/bazel,dinowernli/bazel,hhclam/bazel,asarazan/bazel,dhootha/bazel,d/bazel,kidaa/bazel,Topher-the-Geek/bazel,snnn/bazel,Asana/bazel,rohitsaboo/bazel,zhexuany/bazel,bazelbuild/bazel,Digas29/bazel,snnn/bazel,juhalindfors/bazel-patches,spxtr/bazel,dslomov/bazel,anupcshan/bazel,kchodorow/bazel,damienmg/bazel,aehlig/bazel,safarmer/bazel,bitemyapp/bazel,Krasnyanskiy/bazel,katre/bazel,Krasnyanskiy/bazel,spxtr/bazel,kamalmarhubi/bazel,bazelbuild/bazel,hhclam/bazel,abergmeier-dsfishlabs/bazel,anupcshan/bazel,mrdomino/bazel,dropbox/bazel,bitemyapp/bazel,Topher-the-Geek/bazel,ButterflyNetwork/bazel,dslomov/bazel,LuminateWireless/bazel,LuminateWireless/bazel,sicipio/bazel,Asana/bazel,hermione521/bazel,cushon/bazel,aehlig/bazel,hermione521/bazel,dhootha/bazel,juhalindfors/bazel-patches,asarazan/bazel,juhalindfors/bazel-patches,abergmeier-dsfishlabs/bazel,kchodorow/bazel-1,perezd/bazel,nkhuyu/bazel,meteorcloudy/bazel,murugamsm/bazel,mrdomino/bazel,mrdomino/bazel,aehlig/bazel,iamthearm/bazel,sicipio/bazel,twitter-forks/bazel,manashmndl/bazel,dslomov/bazel-windows,mikelikespie/bazel,bazelbuild/bazel,kidaa/bazel,kidaa/bazel,iamthearm/bazel,damienmg/bazel,davidzchen/bazel,mbrukman/bazel,ButterflyNetwork/bazel,Krasnyanskiy/bazel,dslomov/bazel-windows,hhclam/bazel,vt09/bazel,spxtr/bazel,juhalindfors/bazel-patches,Digas29/bazel,damienmg/bazel,dslomov/bazel,iamthearm/bazel,rohitsaboo/bazel,spxtr/bazel,mikelikespie/bazel,xindaya/bazel,dinowernli/bazel,d/bazel,juhalindfors/bazel-patches,rhuss/bazel,mikelalcon/bazel,dhootha/bazel,davidzchen/bazel,Digas29/bazel,joshua0pang/bazel,manashmndl/bazel,Digas29/bazel,bazelbuild/bazel,safarmer/bazel,kchodorow/bazel-1,iamthearm/bazel,twitter-forks/bazel,murugamsm/bazel,Asana/bazel,dinowernli/bazel,Asana/bazel,ButterflyNetwork/bazel,charlieaustin/bazel,d/bazel,akira-baruah/bazel,bitemyapp/bazel,manashmndl/bazel,hhclam/bazel,ButterflyNetwork/bazel,kchodorow/bazel,joshua0pang/bazel,rohitsaboo/bazel,nkhuyu/bazel,akira-baruah/bazel,mikelalcon/bazel,safarmer/bazel,meteorcloudy/bazel,snnn/bazel,spxtr/bazel,asarazan/bazel,UrbanCompass/bazel,ulfjack/bazel,mrdomino/bazel,meteorcloudy/bazel,mikelikespie/bazel,kchodorow/bazel-1,safarmer/bazel,anupcshan/bazel,katre/bazel,twitter-forks/bazel,Ansahmadiba/bazel,mikelikespie/bazel,rhuss/bazel,whuwxl/bazel,perezd/bazel,wakashige/bazel,damienmg/bazel,vt09/bazel,cushon/bazel,manashmndl/bazel,hermione521/bazel,sicipio/bazel,snnn/bazel,mbrukman/bazel,hermione521/bazel,xindaya/bazel,Ansahmadiba/bazel,kchodorow/bazel,murugamsm/bazel,cushon/bazel,sicipio/bazel,joshua0pang/bazel,bitemyapp/bazel,Krasnyanskiy/bazel,UrbanCompass/bazel,meteorcloudy/bazel,hhclam/bazel,vt09/bazel,ButterflyNetwork/bazel,bitemyapp/bazel,davidzchen/bazel,dslomov/bazel-windows,manashmndl/bazel,LuminateWireless/bazel,safarmer/bazel,rhuss/bazel,abergmeier-dsfishlabs/bazel,JackSullivan/bazel,Ansahmadiba/bazel,kamalmarhubi/bazel,dhootha/bazel,manashmndl/bazel,damienmg/bazel,mbrukman/bazel,davidzchen/bazel,UrbanCompass/bazel,cushon/bazel,Topher-the-Geek/bazel,ButterflyNetwork/bazel,juhalindfors/bazel-patches,Krasnyanskiy/bazel,Ansahmadiba/bazel,werkt/bazel,whuwxl/bazel,Topher-the-Geek/bazel,JackSullivan/bazel,mikelalcon/bazel,sicipio/bazel,xindaya/bazel,LuminateWireless/bazel,variac/bazel,snnn/bazel,whuwxl/bazel,Topher-the-Geek/bazel,zhexuany/bazel,dhootha/bazel,whuwxl/bazel,bitemyapp/bazel,whuwxl/bazel,asarazan/bazel,JackSullivan/bazel,Asana/bazel,ulfjack/bazel,zhexuany/bazel,rhuss/bazel,xindaya/bazel,meteorcloudy/bazel,werkt/bazel,abergmeier-dsfishlabs/bazel,twitter-forks/bazel,d/bazel,UrbanCompass/bazel,anupcshan/bazel,ulfjack/bazel,JackSullivan/bazel,ruo91/bazel,katre/bazel,whuwxl/bazel,kchodorow/bazel-1,Asana/bazel,charlieaustin/bazel,kchodorow/bazel,wakashige/bazel,twitter-forks/bazel,snnn/bazel,Ansahmadiba/bazel,perezd/bazel,nkhuyu/bazel,davidzchen/bazel,LuminateWireless/bazel,murugamsm/bazel,perezd/bazel,abergmeier-dsfishlabs/bazel,katre/bazel,kidaa/bazel,charlieaustin/bazel,mbrukman/bazel,Asana/bazel,dslomov/bazel,kidaa/bazel,dinowernli/bazel,xindaya/bazel,bitemyapp/bazel,JackSullivan/bazel,ruo91/bazel,dslomov/bazel-windows,LuminateWireless/bazel,UrbanCompass/bazel,aehlig/bazel,abergmeier-dsfishlabs/bazel,wakashige/bazel,vt09/bazel,spxtr/bazel,anupcshan/bazel,sicipio/bazel,snnn/bazel,akira-baruah/bazel,xindaya/bazel,Krasnyanskiy/bazel,iamthearm/bazel,kchodorow/bazel-1,mikelikespie/bazel,hermione521/bazel,ruo91/bazel,ruo91/bazel,dinowernli/bazel,twitter-forks/bazel,ruo91/bazel,Ansahmadiba/bazel,JackSullivan/bazel,kidaa/bazel,dropbox/bazel,kchodorow/bazel,bazelbuild/bazel,Ansahmadiba/bazel,zhexuany/bazel,werkt/bazel,cushon/bazel,dslomov/bazel,ulfjack/bazel,kidaa/bazel,ulfjack/bazel,bazelbuild/bazel,d/bazel,meteorcloudy/bazel,joshua0pang/bazel,rohitsaboo/bazel,joshua0pang/bazel,dinowernli/bazel,mrdomino/bazel,xindaya/bazel,cushon/bazel,wakashige/bazel,rohitsaboo/bazel,kamalmarhubi/bazel,variac/bazel,wakashige/bazel,variac/bazel,mikelalcon/bazel,rhuss/bazel,ruo91/bazel,anupcshan/bazel,ruo91/bazel,hermione521/bazel,sicipio/bazel,murugamsm/bazel,asarazan/bazel,katre/bazel,dropbox/bazel,davidzchen/bazel,variac/bazel,mbrukman/bazel,kchodorow/bazel,JackSullivan/bazel,variac/bazel,aehlig/bazel,iamthearm/bazel,Krasnyanskiy/bazel,charlieaustin/bazel