12345678910111213141516171819202122232425262728293031 |
- __author__ = "Inyoung Choung"
- import os
- from os import path
- import unittest
- from implementation import Impl
- class testShowError(unittest.TestCase):
- def runTest(self):
- """
- run Test to check if result is equal to initialized string.
- :return:
- """
-
- message = str("Here is a test warning message.")
-
- result = Impl.display_message(self, message)
-
- self.assertEqual(result, message)
- if __name__ == '__main__':
- unittest.main()
|