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)
 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)
 def test_04_list(self):
     assert self.node in Node.list(
         self.pulp), 'node %s not found on pulp' % self.node.id
 def test_04_list(self):
     assert self.node in Node.list(self.pulp), 'node %s not found on pulp' % self.node.id