oshippy-dev team mailing list archive
-
oshippy-dev team
-
Mailing list archive
-
Message #00209
[Bug 623612] [NEW] issues in class Locatable in package common
You have been subscribed to a public bug:
nameValid, linksValid, archetypedValid, archetypeNodeIdValid are not methods but invariants. Their current implementations can be used to enforce the following invariants:
Links_valid: links /= Void implies not links.empty
Archetyped_valid: is_archetype_root xor archetype_details = Void
Archetype_node_id_valid: archetype_node_id /= Void and then not archetype_node_id.is_empty
The invariant Name_valid is already enforced by the respective schema.
According to previous discussions, maybe we should leave the methods
__eq__ and __hash__ as their default.
** Affects: oshippy
Importance: High
Assignee: Eduardo César (xcesar)
Status: Fix Released
--
issues in class Locatable in package common
https://bugs.launchpad.net/bugs/623612
You received this bug notification because you are a member of OSHIPpy Developers, which is subscribed to OSHIPpy.