123456789101112131415161718192021222324252627282930313233343536373839404142 |
- __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)
- import app
- class testShowError(unittest.TestCase):
- def runTest(self):
-
- message = str("Here is a warning message.")
-
- result = app.alert_message(message)
-
- self.assertEqual(result, message)
- if __name__ == '__main__':
- unittest.main()
|