summaryrefslogtreecommitdiff
path: root/tests/hier_block_test.py
blob: bf61277783638da73f2f9f7343fa68ca481f82cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright (C) by Josh Blum. See LICENSE.txt for licensing information.

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()