def test_temp_get(self): key = uuid.uuid4().hex config = Configuration("pyfarm.core") config[key] = "$temp/bar" self.assertEqual(config.get(key), config.tempdir + "/bar")
def test_get_default_behavior(self): key = uuid.uuid4().hex config = Configuration("pyfarm.core") self.assertIsNone(config.get(key))