def runTest(self):
        """
            Test to find all exposed links and check the http code returned.

            This test doesn't run any javascript so some false positives
            will be found.

            The test can also display an histogram depicting the number of
            links found at each depth.

            Failure or Success to be shown in the report is checked in addSuccess in TestResult
            class
        """
        for user in self.credentials:
            self.clearRecord()
            if self.login(user):
                self.reporter("Smoke Test for user %s" % self.user)
                self.visitLinks()
                self.report()
                self.addResults2Current()
            else:
                raise Exception("Login Failed")
dataset/ETHPy150Open sahana/eden/modules/tests/smoke/broken_links.py/BrokenLinkTest.runTest/original