consistent naming

This commit is contained in:
Leonel Câmara committed 2016-04-21 20:12:00 +01:00
1 parent 8b402b491c
commit c7bb69a0b0
1 file changed
+1 -2
+1 -2
View File
@@ -23,7 +23,7 @@ class TestRecfile(unittest.TestCase):
def tearDown(self): def tearDown(self):
shutil.rmtree('tests') shutil.rmtree('tests')
def testgeneration(self): def test_generation(self):
for k in range(10): for k in range(10):
teststring = 'test%s' % k teststring = 'test%s' % k
filename = os.path.join('tests', str(uuid.uuid4()) + '.test') filename = os.path.join('tests', str(uuid.uuid4()) + '.test')
@@ -70,6 +70,5 @@ class TestRecfile(unittest.TestCase):
self.assertRaises(IOError, recfile.open, filename, "r") self.assertRaises(IOError, recfile.open, filename, "r")
if __name__ == '__main__': if __name__ == '__main__':
unittest.main() unittest.main()