File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4545
4646
4747class TestDebianDataDump (TestCase ):
48-
4948 @classmethod
50- def setUpTestData (self ):
49+ def setUpTestData (cls ):
5150 with open (os .path .join (TEST_DATA , 'debian.json' )) as f :
5251 test_data = json .load (f )
5352
@@ -122,7 +121,7 @@ def test_ResolvedPackage(self):
122121
123122class TestUbuntuDataDump (TestCase ):
124123 @classmethod
125- def setUpTestData (self ):
124+ def setUpTestData (cls ):
126125 with open (os .path .join (TEST_DATA , 'ubuntu_main.html' )) as f :
127126 test_data = f .read ()
128127
@@ -144,9 +143,8 @@ def test_data_dump(self):
144143
145144
146145class TestArchLinuxDataDump (TestCase ):
147-
148146 @classmethod
149- def setUpTestData (self ):
147+ def setUpTestData (cls ):
150148 with open (os .path .join (TEST_DATA , 'archlinux.json' )) as f :
151149 test_data = json .load (f )
152150
You can’t perform that action at this time.
0 commit comments