Last analyzed 6ca2230 6 months ago
Default analysis branch is
Currently analyzing run
Explicit exception raised in the assert message PTC-W0032
Bug risk
6 months ago6 months old
Built-in exception RuntimeError would be ineffective when assert fails
28        self.signed_in = True
30    def check_signed_in(self):
31        assert self.signed_in == True, RuntimeError("You are not authorized!")32
34class AdminDashboard(BasePage, AdminMixin, SigninMixin, AdminMixin):