from unittest import mock StoredDataObserver = mock.Mock() UdevObserver = mock.Mock() NetworkEventReceiver = mock.Mock() IFF_UP = 0x1