The code in this module is Copyright (C) 2012 Leah Klearman and covered by the MIT license. unittestzero, required by this module, is covered by the MPL license. testmania, required by this module, is covered by the MIT license.
This project's intention is to extend the unittestzero package to include methods to verify complex data types found in APIs. The unittestzero project can be found on github and it's documentation can be found here. The testmania project can be found on github and its documentation can be found here.
This module works with python 2.6 and 2.7 but not 3.2.
This package is now available on pypi.
from unittestone import Assert
class TestSomethingCool:
def test_equals(self):
Assert.equal(1, 1)
py.test -p no:mozwebqa .
or python runtests.py
(sudo) pip uninstall unittestone (sudo) python setup.py install