[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2988: Many test mixins fail to supercall implementations of hook methods
Tahoe-LAFS
trac at tahoe-lafs.org
Thu Mar 7 18:42:01 UTC 2019
#2988: Many test mixins fail to supercall implementations of hook methods
---------------------+---------------------------
Reporter: exarkun | Owner:
Type: defect | Status: new
Priority: normal | Milestone: undecided
Component: unknown | Version: 1.12.1
Keywords: | Launchpad Bug:
---------------------+---------------------------
For example, `GridTestMixin.setUp` does not supercall. This means you get
a kind of random outcome if you happen to mix this in and override
`setUp`.
Ultimately all these mixins should be eliminated. They're a complicated
and therefore error-prone way to share functionality. But in the short
term, fix them to at least do the correct supercalls.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2988>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list