Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> python >> python3-minimock
nabia  ] [  aramo  ]
[ 原始碼: python-minimock  ]

套件: python3-minimock (1.2.8-2)

simple library for Python mock objects

minimock is a simple Python library for using mock objects.

Its mock objects will report any access made to the mock object's interfaces. The programmer can easily make assertions about how mock objects are used in the test cases, by using the standard-library ‘doctest’ module to match the reported access against expected behaviour.

Mock objects can return specified values, raise exceptions, etc. to simulate the mocked behaviour. Existing objects can optionally be replaced in-place in their namespace by a mock object, and restored safely after testing.

其他與 python3-minimock 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

下載 python3-minimock

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 14.3 kB55 kB [文件列表]