Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-11079

Python tests missing check on entry point

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 3
    • StorEng - Defined Pipeline

      Many of our Python tests contain the following lines:

      if __name__ == '__main__':
          wttest.run()
      

      But many don't and this can be checked with the following command:

      $ grep -L "wttest.run()" test/suite/test_*
      

      In this ticket, we should check whether we need it and make it consistent.

      Work to be done:

      • Remove this check for all Python tests except the ones from the test/compatibility folder introduced by WT-10533.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: