TestOfflineimapGlobals renamed variable
This variable should be named cls.
This commit is contained in:
parent
b5eed07d38
commit
67e4dd923e
@ -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():
|
||||||
|
Loading…
Reference in New Issue
Block a user