adding __name__ == "__main__" magic to run test suite with just unittest
This commit is contained in:
parent
5023469466
commit
1b94d6a463
@ -28,3 +28,7 @@ class TestOneTimePad(unittest.TestCase):
|
||||
else:
|
||||
self.assertFalse(bool(len(line)),
|
||||
'line {0} is empty'.format(lineno))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
Loading…
Reference in New Issue
Block a user