Files
python/exercises/practice/isogram/isogram_test.py

19 lines
345 B
Python
Raw Normal View History

2017-03-19 13:50:32 +01:00
import unittest
from isogram import (
is_isogram,
)
2017-03-19 13:50:32 +01:00
2020-10-15 12:46:24 -04:00
# Tests adapted from `problem-specifications//canonical-data.json`
2017-03-19 13:50:32 +01:00
class IsogramTest(unittest.TestCase):
2017-03-19 13:50:32 +01:00
# Utility functions
def assertRaisesWithMessage(self, exception):
return self.assertRaisesRegex(exception, r".+")
2017-03-19 13:50:32 +01:00
if __name__ == "__main__":
2017-03-19 13:50:32 +01:00
unittest.main()