def wantClass(self, cls):
        if issubclass(cls, TestCase):
            key = (self.module, cls)
            if key in self.seen:
                log.error("ignoring duplicate test: %s in %s "
                          "(INVESTIGATE THIS)", cls, self.module)
                return False
            self.seen.add(key)
            if self.path and os.path.basename(self.path) == "tests":
                return cls.__module__ == self.module.__name__
        return None  # defer to default selector
dataset/ETHPy150Open dimagi/commcare-hq/corehq/tests/nose.py/OmitDjangoInitModuleTestsPlugin.wantClass/original