deepsourcestatus / test-repository

Consider using identity comparison with singleton PTC-W0068
Bug risk
Major
7 months ago7 months old
Comparison to singleton True should be expr is True
28        self.signed_in = True
29
30    def check_signed_in(self):
31        assert self.signed_in == True, RuntimeError("You are not authorized!")32
33
34class AdminDashboard(BasePage, AdminMixin, SigninMixin, AdminMixin):