Tuesday, 2021-11-30

hgyHello, Who know how to get a unit test for a patch, or in which document I can learn about it?07:13
fricklerhgy: I've found it most useful to look at existing tests, then look up some of the used functions in the python documentation if needed07:18
fricklerhgy: do you have a specific patch you want to do a unit test for?07:18
hgyfrickler: Yes, I added a new exception process, and got a comment which told me I need a unit test for converage07:21
hgyfrickler: I just a newer, sorry07:21
hgyfrickler: It's mean that I need to add a unit test for zuul?07:22
fricklerhgy: can you share the link to your patch? makes it easier when we can see the context07:22
hgyfrickler: of course: https://review.opendev.org/c/openstack/glance/+/81939907:23
fricklerhgy: so the unit tests for the file you are modifying are in https://opendev.org/openstack/glance/src/branch/master/glance/tests/unit/common/test_wsgi.py , you can try to find a similar test that you could copy and modify there07:27
fricklerhgy: otherwise maybe ask for help in the #openstack-glance channel. or, if you think that this is all too much for you, don't be afraid to state so in the review and ask someone else to pick up the issue07:28
hgyfrickler: Oh, Thank you very much.07:28
hgyfrickler: Ok, I will try it first. And if I can't finish it, I will ask else to pick up it07:29
hgyfrickler: love you07:29
fricklerhgy: there's also a bit of documentation here https://governance.openstack.org/tc/reference/pti/python.html07:30
hgyfrickler: oh, Ok, really appreciate you07:32
*** jpena|off is now known as jpena09:27
opendevreviewAurelien Lourot proposed openstack/governance master: Add NVidia vGPU plugin charm to OpenStack charms  https://review.opendev.org/c/openstack/governance/+/81985613:17
*** sshnaidm|afk is now known as sshnaidm13:29
*** whoami-rajat__ is now known as whoami-rajat16:20
*** xek_ is now known as xek16:48
*** jpena is now known as jpena|off17:35
opendevreviewMerged openstack/governance master: Rework the yoga secure RBAC community goal  https://review.opendev.org/c/openstack/governance/+/81515818:18
Alt-ShivankHey everone,18:27
Alt-ShivankI want to deploy openstack on my local machine, component by component, Is there any detailed documentation for the same.18:29
fricklerAlt-Shivank: https://docs.openstack.org/install-guide/19:08

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!