Skip to content
This repository has been archived by the owner on Jul 24, 2018. It is now read-only.

Tactical: Need better testing of the inheritance system #19

Open
sh8121att opened this issue Mar 22, 2017 · 0 comments
Open

Tactical: Need better testing of the inheritance system #19

sh8121att opened this issue Mar 22, 2017 · 0 comments

Comments

@sh8121att
Copy link
Member

Need more fine grained unit testing of the inheritance system to ensure future model changes don't break it.
(HP = HostProfile, BN = BaremetalNode)

  • Test that child HP can override simple parent HP attributes
  • Test that child HP can set missing parent HP attributes
  • Test that child HP can add members to simple list parent HP attributes (e.g. tags)
  • Test that child HP can remove members from simple list parent HP attributes (e.g. tags)
  • Test that child HP can add members to subpart list parent HP attributes (e.g. interfaces)
  • Test that child HP can override subpart attributes from parent HP attributes (e.g. HostInterface attribute in interfaces list)
  • Test that child HP can remove member from subpart list parent HP attributes (e.g. partition)
mark-burnett pushed a commit that referenced this issue Jul 12, 2017
get YAML formatted correctly
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant