@mock.patch.object(systemconfig, 'GetDot1xInterfaces')
  def testGetMacAddressesWhenNoneFound(self, mock_gd1i):
    mock_gd1i.return_value = []
    self.assertEqual([], systemconfig.GetMacAddresses())
Own view in order to pass RequestContext and send an error message.
dataset/ETHPy150Open google/macops/gmacpyutil/gmacpyutil/systemconfig_test.py/SysconfigModuleTest.testGetMacAddressesWhenNoneFound--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/core/views.py/server_error