예제 #1
0
    def assertPluralNameEquals(self, singular_name, entity_name_plural):
        """ Check that the remote name is well converted to
            the python name

        """
        self.assertEqual(SDKUtils.get_entity_name_plural(singular_name),
                         entity_name_plural)
예제 #2
0
    def entity_name(self, value):
        """
        """
        self._entity_name = value

        if value:
            self.instance_name = SDKUtils.get_python_name(value)
            self.entity_name_plural = SDKUtils.get_entity_name_plural(value)
            self.instance_name_plural = SDKUtils.get_python_name(self.entity_name_plural)
예제 #3
0
    def assertPluralNameEquals(self, singular_name, entity_name_plural):
        """ Check that the remote name is well converted to
            the python name

        """
        self.assertEqual(SDKUtils.get_entity_name_plural(singular_name), entity_name_plural)