Project

General

Profile

Bug #24549

Template rendering extensions are untested and broken

Added by Justin Sherrill over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Tests
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Currently the following are untested:

RenderExtensions#kickstart_attributes
InputTemplateScopeExtensions#errata_id

I could see something breaking these, we really need some tests to verify that they are working


Related issues

Related to Katello - Bug #25753: undefined method `content_facet' for #<Hostgroup:0x00007f1fb2583b98>Closed

Associated revisions

Revision 2d8841e1 (diff)
Added by Justin Sherrill over 1 year ago

Fixes #24549 - Add rendering extension tests

and fix a few issues with those extensions. The
errata id helper did not take permissions into account,
the kickstart_attributes method was not using the new
medium provider and thus would not work. This also
moves the errata helper to the base input scope instead
of on a REX class for easier testing.

History

#2 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Justin Sherrill
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7602 added

#3 Updated by Justin Sherrill over 1 year ago

  • Subject changed from Template rendering extensions are untested to Template rendering extensions are untested and broken

#4 Updated by Justin Sherrill over 1 year ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.9.0

#5 Updated by Justin Sherrill over 1 year ago

  • Status changed from Ready For Testing to Closed

#6 Updated by Shimon Shtein over 1 year ago

  • Related to Bug #25753: undefined method `content_facet' for #<Hostgroup:0x00007f1fb2583b98> added

Also available in: Atom PDF