QuackatronHQ / Gigarepo

Consider using identity comparison with singleton PTC-W0068
Bug risk
Major
24 days ago2 years 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):