@@ -0,0 +1,1757 @@
+# -*- coding: utf-8 -*-%0A%0A#    Copyright (c) 2015 Intel Corporation%0A#%0A#    Licensed under the Apache License, Version 2.0 (the %22License%22); you may%0A#    not use this file except in compliance with the License. You may obtain%0A#    a copy of the License at%0A#%0A#         http://www.apache.org/licenses/LICENSE-2.0%0A#%0A#    Unless required by applicable law or agreed to in writing, software%0A#    distributed under the License is distributed on an %22AS IS%22 BASIS, WITHOUT%0A#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the%0A#    License for the specific language governing permissions and limitations%0A#    under the License.%0A%0Aimport testtools%0A%0Afrom ironicclient.v1 import resource_fields%0A%0A%0Aclass ResourceFieldsTest(testtools.TestCase):%0A%0A    def test_chassis_fields(self):%0A        self.assertEqual(%0A            len(resource_fields.CHASSIS_FIELDS),%0A            len(resource_fields.CHASSIS_FIELD_LABELS))%0A%0A    def test_chassis_list_fields(self):%0A        self.assertEqual(%0A            len(resource_fields.CHASSIS_LIST_FIELDS),%0A            len(resource_fields.CHASSIS_LIST_FIELD_LABELS))%0A%0A    def test_node_fields(self):%0A        self.assertEqual(%0A            len(resource_fields.NODE_FIELDS),%0A            len(resource_fields.NODE_FIELD_LABELS))%0A%0A    def test_node_list_fields(self):%0A        self.assertEqual(%0A            len(resource_fields.NODE_LIST_FIELDS),%0A            len(resource_fields.NODE_LIST_FIELD_LABELS))%0A%0A    def test_port_fields(self):%0A        self.assertEqual(%0A            len(resource_fields.PORT_FIELDS),%0A            len(resource_fields.PORT_FIELD_LABELS))%0A%0A    def test_port_list_fields(self):%0A        self.assertEqual(%0A            len(resource_fields.PORT_LIST_FIELDS),%0A            len(resource_fields.PORT_LIST_FIELD_LABELS))%0A

Add unittests for resource_fields