aboutsummaryrefslogtreecommitdiffstats
path: root/test/mock_urwid.py
blob: f132e0bdd0c42721d976f9ed363ee061471da16f (plain)
1
2
3
4
5
6
7
8
import os, sys, mock
if os.name == "nt":
    m = mock.Mock()
    m.__version__ = "1.1.1"
    m.Widget = mock.Mock
    m.WidgetWrap = mock.Mock
    sys.modules['urwid'] = m
    sys.modules['urwid.util'] = mock.Mock()