Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-530

use unittest.mock on Python 3.3+ to satisfy mock depency for testing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • Python 3.3+ is effected on all platforms
      here: Mac OS X and Macports

    Description

      Python 3.3+ provides mock as part of the standard library in the `unittest.mock` namespace: http://docs.python.org/3/library/unittest.mock.html

      libcloud should be able to use this for testing and to handle the difference with respect to other Python version. This would avoid the necessity to install mock as a separate, redundant packages on Python 3.3+. This packages in not always available through package managers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            petrrr Peter Danecek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0.2h
                0.2h
                Remaining:
                Remaining Estimate - 0.2h
                0.2h
                Logged:
                Time Spent - Not Specified
                Not Specified