Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1390

Fix pytest 3.9 warnings that break tests

    XMLWordPrintable

    Details

    • Type: Clean up
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 4.1.0
    • Component/s: Tests

      Description

      Following tests are failing starting with pytest 3.9 (cf #3978):

      ERROR tests/test_pytest_random.py::test_no_repeat_on_skipif_mark
      ERROR tests/test_pytest_random.py::test_no_repeat_on_skip_call
      ERROR tests/test_pytest_random.py::test_no_repeat_on_xfail_mark
      ERROR tests/test_pytest_random.py::test_no_repeat_on_xfail_call
      ERROR tests/test_pytest_random.py::test_relax_on_failing_test
      

      The error is:

      usage of Session.Module is deprecated, please use pytest.Module instead
      

        Attachments

          Issue Links

            Activity

              People

              • 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 - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m