summaryrefslogtreecommitdiff
path: root/tests/hier_block_test.py
blob: 78bb1a0520b9b7d8aa9467f6c0fd2859d268c3c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

import unittest
import gras

class HierBlockTest(unittest.TestCase):

    def test_expected_attrs(self):
        self.assertTrue(hasattr(gras, 'HierBlock'))
        self.assertTrue(hasattr(gras, 'TopBlock'))

    def test_make_hier(self):
        h = gras.HierBlock('my_hb')
        print h

    def test_make_top(self):
        t = gras.TopBlock('my_tb')
        print t

if __name__ == '__main__':
    unittest.main()