|File Search||Catalog||Content Search|
Mox will make mock objects for you, so you don't have to create your own. It mocks the public/protected interfaces of Python objects. You set up your mock objects expected behavior using a domain specific language (DSL), which makes it easy to use, understand, and refactor.
It is based on EasyMock, a Java mock object framework.
Mox is an open source mock object framework for Python, inspired by the Java library EasyMock. To install: $ python setup.py install To run Mox's internal tests: $ python mox_test.py Basic usage: import unittest import mox class PersonTest(mox.MoxTestBase): def testUsingMox(self): # Create a mock Person mock_person = self.mox.CreateMock(Person) test_person more»
python-mox (0.5.3-1) unstable; urgency=low * New upstream version -- Iustin Pop <firstname.lastname@example.org> Mon, 24 May 2010 12:30:06 +0200 python-mox (0.5.1-2) unstable; urgency=low * Remove build-deps on -dev package (not needed) * Switch to my debian address and remove DM-Upload-Allowed * Standards version 3.8.4 (no changes needed) * Switch to dpkg-source 3.0 (quilt) format -- Iustin more»
This package was debianized by Iustin Pop <email@example.com> on Sun, 29 Jun 2008 21:01:19 +0200. It was downloaded from http://code.google.com/p/pymox/ Upstream Author: Google Inc. Copyright: Copyright (C) 2008 Google Inc. License: Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtai more»