'Tests that all rules are being tested.'

def test_completeness(self):

    if (not self.class_):
        return
    classes_to_ignore = [TradingDayOfWeekRule, TradingDayOfMonthRule]
    dem = {k for (k, v) in iteritems(vars(zipline.utils.events)) if (isinstance(v, type) and issubclass(v, self.class_) and (v is not self.class_) and (v not in classes_to_ignore) and (not isabstract(v)))}
    ds = {k[5:] for k in dir(self) if (k.startswith('test') and (k[5:] in dem))}
    self.assertTrue((dem <= ds), msg=('This    suite    is    missing    tests    for    the    following    classes:\n' + '\n'.join(map(repr, (dem - ds)))))
