Add tiny test coverage for util.py

This commit is contained in:
Chris Jones 2010-01-14 23:48:15 +00:00
parent 32a3933b6c
commit 3917ea568b
2 changed files with 9 additions and 1 deletions

View File

@ -10,6 +10,7 @@ def test_suite():
'testborg',
'cwd',
'factory',
'util',
):
suite.addTest(DocTestSuite('terminatorlib.' + name))
return suite

View File

@ -14,7 +14,14 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
"""Terminator.util - misc utility functions"""
"""Terminator.util - misc utility functions
>>> a = {'foo': 'bar', 'baz': 'bjonk'}
>>> b = {'foo': 'far', 'baz': 'bjonk'}
>>> dict_diff(a, b)
{'foo': 'far'}
"""
import sys
import gtk