def test_create_node_with_traits(self):
    self.assertRaises(exception.InvalidParameterValue, utils.create_test_node, traits=['trait1', 'trait2'])
def test_create_node_with_traits(self):
    self.assertRaises(exception.InvalidParameterValue, utils.create_test_node, traits=['trait1', 'trait2'])