diff --git a/i3pystatus/core/modules.py b/i3pystatus/core/modules.py index 58bf458..c1f51b5 100644 --- a/i3pystatus/core/modules.py +++ b/i3pystatus/core/modules.py @@ -18,13 +18,6 @@ class Module(SettingsBase): self.output["instance"] = str(id(self)) json.insert(convert_position(self.position, json), self.output) - def test(self): - """ - Return True if settings seem ok (i.e. login credentials and such are valid) - or a string describing the problem - """ - return True - def run(self): pass diff --git a/i3pystatus/modsde.py b/i3pystatus/modsde.py index 701b274..98e9289 100644 --- a/i3pystatus/modsde.py +++ b/i3pystatus/modsde.py @@ -71,11 +71,6 @@ class ModsDeChecker(IntervalModule): urllib.request.HTTPCookieProcessor(self.cj)) self.logged_in = False - def test(self): - if not self.login(): - return "Wrong credentials or no internet connection" - return True - def login(self): data = urllib.parse.urlencode({ "login_username": self.username,