Exemplo n.º 1
0
    def setUp(self):
        self.cmd = CommandContainer()
        self.sub_cmd_1 = CommandContainer()
        self.sub_cmd_2 = CommandContainer()

        self.cmd.add_command("sub_cmd_1", self.sub_cmd_1)
        self.cmd.add_command("sub_cmd_2", self.sub_cmd_2)
        pass
Exemplo n.º 2
0
 def __init__(self):
     self.__collector = CommandContainer()