aboutsummaryrefslogtreecommitdiff
path: root/tests/TestComponentRegistry.py
blob: 1acd0c8857d0d7ad9d8f252ceca4fe1746cf88a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
import unittest
import util.ComponentRegistry as compReg
class TestComponentRegistry(unittest.TestCase):
    def setUp(self):
        compReg.initRegistry()
    def tearDown(self):
        compReg.clearRegistry()
    def test_register_component(self):
        comp = SmootCoreObject({'Id': obj1})
        compReg.registerComponent(comp)