def testKeysAreNotNone(self): fac = LicensedFeatureFactory() host = FFHostDouble(FFHostDouble.CREEDENCE) [self.assertFalse(not i) for i in fac.allFeatures(host).keys()]
def testReturningAllFeaturesLength(self): fac = LicensedFeatureFactory() host = FFHostDouble(FFHostDouble.CREEDENCE) self.assertEqual(6, len(fac.allFeatures(host)))