Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1973

Allow proton-test to be run as a python module ("python -m proton_tests")

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: proton-c-0.27.0
    • Component/s: python-binding
    • Labels:
      None

      Description

      It will simplify a number of deployment and testing scenarios if we can run the python tests simply as a module, rather than having to run the tests as a command.

      Specifically it allows us to simply use 'python3 -m proton_tests' from the command line once the environment is set up rather than having to remember where the tests are.

      This is also an improvement for a Windows install where the 'shebang' does not work at all.

      It should also make an installable package with just the tests fairly simpleĀ  too.

        Attachments

          Activity

            People

            • Assignee:
              astitcher Andrew Stitcher
              Reporter:
              astitcher Andrew Stitcher
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: