ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AviaE <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #142: ARIA 180 convert parameter to one to ...
Date Sun, 04 Jun 2017 09:36:35 GMT
Github user AviaE commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/142#discussion_r120004780
  
    --- Diff: tests/mock/models.py ---
    @@ -278,11 +278,19 @@ def create_plugin_specification(name='test_plugin', version='0.1'):
         )
     
     
    -def create_parameter(name, value):
    -    p = models.Parameter()
    +def _create_parameter(name, value, model_class):
    +    p = model_class()
    --- End diff --
    
    we can just use `model_cls.wrap`?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message