fix setUpClass for a unittest.TestCase

This commit is contained in:
Bryan Bishop
2013-08-04 15:42:59 -05:00
parent 51d7e0e876
commit dbf6c1eedc

View File

@@ -94,16 +94,6 @@ import mock
class TestCram(unittest.TestCase):
"this is where i cram all of my unit tests together"
@classmethod
def setUpClass(cls):
global rom
cls.rom = direct_load_rom()
rom = cls.rom
@classmethod
def tearDownClass(cls):
del cls.rom
def test_map_name_cleaner(self):
name = "hello world"
cleaned_name = map_name_cleaner(name)