示例#1
0
 def setUpClass(cls):
     super(NodeTest, cls).setUpClass()
     node_role = ROLES.nodes[0]
     # configure the node via cli
     cli = Cli.ready_instance(**node_role)
     cls.node = Node.get(cls.pulp,  node_role.id)
     cls.node.cli = cli
     # instantiate a pulp child from the role details
     cls.pulp_child = Pulp(node_role.url, tuple(node_role.auth), node_role.verify_api_ssl)
示例#2
0
 def setUpClass(cls):
     super(NodeTest, cls).setUpClass()
     node_role = ROLES.nodes[0]
     # configure the node via cli
     cli = Cli.ready_instance(**node_role)
     cls.node = Node.get(cls.pulp, node_role.id)
     cls.node.cli = cli
     # instantiate a pulp child from the role details
     cls.pulp_child = Pulp(node_role.url, tuple(node_role.auth),
                           node_role.verify_api_ssl)
示例#3
0
 def test_04_list(self):
     assert self.node in Node.list(
         self.pulp), 'node %s not found on pulp' % self.node.id
示例#4
0
 def test_04_list(self):
     assert self.node in Node.list(self.pulp), 'node %s not found on pulp' % self.node.id