Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-582

[API] Job function crud and stakeholder group crud fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • MTA 6.2.0
    • MTA 6.1.0
    • Hub
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      Job_function and Stakeholder group crud test in Python project fails when getting the created JF with GET method

       

      >           raise ValueError("Invalid value for `name`, must not be `None`")  # noqa: E501
      E           ValueError: Invalid value for `name`, must not be `None`
      swagger_client/models/api_job_function.py:161: ValueError
      

       

      The returned value from the get_job_function_by_ID method should be list: https://github.com/konveyor/tackle2-hub/blob/main/docs/swagger.yaml#L1981

      >      raise ValueError("Invalid value for `name`, must not be `None`")  # noqa: E501
       E     ValueError: Invalid value for `name`, must not be `None`swagger_client/models/api_stakeholder_group.py:187: ValueError
      

       

      The return value from GET method when running through Postman is a JSON dictionary

      Version-Release number of selected component (if applicable):

      MTA-6.1

       

      How reproducible:

       

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

       

      Expected results:

       

      Additional info:

            rhn-engineering-maufart Marek Aufart
            rhn-support-kpunwatk Karishma Punwatkar
            Karishma Punwatkar Karishma Punwatkar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: