Add tiny test coverage for util.py
This commit is contained in:
parent
32a3933b6c
commit
3917ea568b
|
@ -10,6 +10,7 @@ def test_suite():
|
|||
'testborg',
|
||||
'cwd',
|
||||
'factory',
|
||||
'util',
|
||||
):
|
||||
suite.addTest(DocTestSuite('terminatorlib.' + name))
|
||||
return suite
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue