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):
@classmethod
def setUpClass(klass):
klass.o = Opt()
globals.set_options(klass.o)
def setUpClass(cls):
cls.o = Opt()
globals.set_options(cls.o)
def test_initial_state(self):
for k in self.o.__dict__.keys():