test_demos.py 290 Bytes
Newer Older
BO ZHANG's avatar
BO ZHANG committed
1
2
3
4
5
6
import unittest

from csst_proto.top_level_interface import a_demo_function


class TestCaseDemoFunction(unittest.TestCase):
BO ZHANG's avatar
BO ZHANG committed
7
    """ test demo function """
BO ZHANG's avatar
BO ZHANG committed
8
9
10
    def test_demo_function(self):
        # flip test image
        self.assertTrue(
BO ZHANG's avatar
BO ZHANG committed
11
            a_demo_function(None) == 1
BO ZHANG's avatar
BO ZHANG committed
12
        )