def test_system_namespace(self): ns = system_namespace() fun = [x for x in ns.iter(ns.getters) if x[1] == 'net_if_addrs'][0][0] self.assertEqual(fun(), psutil.net_if_addrs())
def test_coverage(self): ns = system_namespace() ns.test_class_coverage(self, ns.all)