Remove unused imports from Python tests

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • WT11.0.0, 5.3.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage - Ra 2022-02-21
    • 2

      Summary

      We have lots of Python tests with unused imports in our test/suite folder. We could do some cleaning.

      Acceptance Criteria (Definition of Done)
      No more unused imports.

      Suggested Solution
      We can use the command that can be found in the following example:

       autoflake --in-place --remove-unused-variables example.py
      

              Assignee:
              Etienne Petrel
              Reporter:
              Etienne Petrel
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: