Re: [openstack-dev] [Fuel] [Nailgun] Unit tests improvement meeting minutes

2014-12-01 Thread Przemyslaw Kaminski
As I mentioned, we just discovered all handlers along with their urls (Tornado pre-processed url regexps so this was bit easier) and all models (we used Django). Based on this we set up a handler that generated Swagger JSON file according to this schema https://github.com/swagger-api/swagger-s

Re: [openstack-dev] [Fuel] [Nailgun] Unit tests improvement meeting minutes

2014-12-01 Thread Dmitriy Shulyak
Swagger is not related to test improvement, but we started to discuss it here so.. @Przemyslaw, how hard it will be to integrate it with nailgun rest api (web.py and handlers hierarchy)? Also is there any way to use auth with swagger? On Mon, Dec 1, 2014 at 1:14 PM, Przemyslaw Kaminski wrote: >

Re: [openstack-dev] [Fuel] [Nailgun] Unit tests improvement meeting minutes

2014-12-01 Thread Przemyslaw Kaminski
On 11/28/2014 05:15 PM, Ivan Kliuk wrote: Hi, team! Let me please present ideas collected during the unit tests improvement meeting: 1) Rename class ``Environment`` to something more descriptive 2) Remove hardcoded self.clusters[0], e.t.c from ``Environment``. Let's use parameters instead 3)

Re: [openstack-dev] [Fuel] [Nailgun] Unit tests improvement meeting minutes

2014-11-28 Thread Thomas Goirand
On 11/29/2014 12:15 AM, Ivan Kliuk wrote: > Hi, team! > > Let me please present ideas collected during the unit tests improvement > meeting: > 1) Rename class ``Environment`` to something more descriptive > 2) Remove hardcoded self.clusters[0], e.t.c from ``Environment``. Let's > use parameters in