TestOfflineimapGlobals renamed variable

This variable should be named cls.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-30 12:20:50 +02:00
parent b5eed07d38
commit 67e4dd923e

View File

@ -15,9 +15,9 @@ class Opt:
class TestOfflineimapGlobals(unittest.TestCase): class TestOfflineimapGlobals(unittest.TestCase):
@classmethod @classmethod
def setUpClass(klass): def setUpClass(cls):
klass.o = Opt() cls.o = Opt()
globals.set_options(klass.o) globals.set_options(cls.o)
def test_initial_state(self): def test_initial_state(self):
for k in self.o.__dict__.keys(): for k in self.o.__dict__.keys():