[identity] Add template tests to cookbook
Bug #1182562 reported by
John Dewey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack + Chef |
Fix Released
|
Wishlist
|
Brett Campbell | ||
Havana |
Fix Released
|
Wishlist
|
Brett Campbell |
Bug Description
We need chefspec tests to assert the contents of the templates. Ideally we only need to test conditional logic is handled properly in the templates.
Currently they are marked as pending tests.
Changed in openstack-chef: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
tags: | added: identity |
tags: | added: chefspec |
Changed in openstack-chef: | |
importance: | Medium → Wishlist |
summary: |
- Add template tests to openstack-identity cookbook + [identity] Add template tests to cookbook |
Changed in openstack-chef: | |
assignee: | nobody → Brett Campbell (invsblduck) |
Changed in openstack-chef: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Hi there,
I want to implement all the render_file tests marked pending, but in the case of `default_ catalog. templates' there is no conditional logic in the template to actually test (yet there is a 'template contents' test pending there). The keystone.conf template actually has numerous if/else tests, however nothing is marked 'pending' in that context. I'm probably going to write the tests for keystone.conf logic and remove the pending block for default_ catalog. templates.
Please let me know if I'm missing something or should do otherwise...
thanks,
duck