Message266461
Maybe a generic superset test would be good enough:
def assertSuperset(self, superset, subset):
# Expand for friendlier failure handling
self.assertTrue(all(e in superset for e in subset))
self.assertSuperset("Error message", ("mess", "or me"))
Or is that too obscure, treating a string as a set of substrings? |
|
Date |
User |
Action |
Args |
2016-05-26 23:28:00 | martin.panter | set | recipients:
+ martin.panter, r.david.murray, serhiy.storchaka, maciej.szulik |
2016-05-26 23:28:00 | martin.panter | set | messageid: <1464305280.07.0.38432994137.issue27132@psf.upfronthosting.co.za> |
2016-05-26 23:28:00 | martin.panter | link | issue27132 messages |
2016-05-26 23:28:00 | martin.panter | create | |
|