Commits

Ronald Oussoren committed fe76e4e

Fix small issues

Comments (0)

Files changed (4)

pyobjc-framework-SystemConfiguration/Modules/_manual.m

 }
 
 
-PyDoc_STRVAR(mod_doc, "");
-
 static PyMethodDef mod_methods[] = {
 	{ 
 		"SCDynamicStoreCreate", 

pyobjc-framework-SystemConfiguration/PyObjCTest/test_scnetworkconfiguration.py

         self.assertTrue(isinstance(iface, SCVLANInterfaceRef))
 
         r = SCVLANInterfaceGetPhysicalInterface(iface)
-        self.assertTrue(r is a[0])
+        self.assertEqual(r, a[0])
 
         t = SCVLANInterfaceGetTag(iface)
         self.assertEquals(t, 99)
         self.assertTrue(t is None or isinstance(t, CFDictionaryRef))
 
         r = SCVLANInterfaceSetPhysicalInterfaceAndTag(iface, a[0], 42)
-        self.assertTrue(r is True)
+        self.assertIs(r, True)
 
         r = SCVLANInterfaceSetLocalizedDisplayName(iface, "octest")
-        self.assertTrue(r is True)
+        self.assertIs(r, True)
 
         r = SCVLANInterfaceSetOptions(iface, {"name": "foo"})
-        self.assertTrue(r is True)
+        self.assertIs(r, True)
 
         t = SCVLANInterfaceGetOptions(iface)
         self.assertTrue(isinstance(t, CFDictionaryRef))

pyobjc-framework-SystemConfiguration/PyObjCTest/test_scpreferences.py

 
 
 
+    @expectedFailure
     def testSecurityIntegreation(self):
         self.fail("Need Security framework wrappers")
         #aref = SFAuthorization.authorization().authorizationRef ()

pyobjc-framework-SystemConfiguration/distribute_setup.py

             args = [quote(arg) for arg in args]
         return os.spawnl(os.P_WAIT, sys.executable, *args) == 0
 
-DEFAULT_VERSION = "0.6.8"
+DEFAULT_VERSION = "0.6.4"
 DEFAULT_URL = "http://pypi.python.org/packages/source/d/distribute/"
 SETUPTOOLS_PKG_INFO = """\
 Metadata-Version: 1.0