mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-30 05:16:40 -05:00
fix setUpClass for a unittest.TestCase
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user