def METHOD_NAME(self):
    class TrainConf(object):
        batch_size = 64
        log_steps = 100
        save_steps = 1000
        save_min_secs = 60
        save_max_secs = 60 * 6
        params = {
            "deep_embedding_dim": 8,
            "learning_rate": 0.0001,
            "l1": 0.0,
            "l21": 0.0,
            "l2": 0.0,
            "optimizer": "group_adam",
            "log_steps": 100,
        }
    conf = get_conf(TrainConf)
    self.assertTrue(conf.get("batch_size") == 64)
    self.assertTrue(conf.get("epoch") is None)
    self.assertTrue(conf.get("epoch", 1) == 1)