def METHOD_NAME(self):
    engine = EngineEmul()
    obj = Configuration()
    obj.merge({
        "foo": float("inf"),
    })
    cfg = engine.create_artifact("config", ".json")
    obj.dump(cfg, Configuration.JSON)
    with open(cfg) as fds:
        dump = json.loads(fds.read())
    self.assertEqual(dump["foo"], "inf")
    self.assertEqual(dehumanize_time(dump["foo"]), float("inf"))