Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-432

[SDK] test_verify_rest_response is flaky in python 3.5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.4.0
    • 0.4.0
    • SDK

    Description

      Error message:

      with pytest.raises(RestException, match=str(mock_json_body)):
      > verify_rest_response(mock_response, '/api/v1/jobs')
      E AssertionError: Pattern '{'b': 2, 'c': 3, 'a': 200}' not found in 'None: Response: {'c': 3, 'a': 200, 'b': 2}'

      Attachments

        Issue Links

          Activity

            People

              pingsutw Kevin Su
              pingsutw Kevin Su
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m