def METHOD_NAME(self):
    c = Config()
    h1 = c.get_hash()
    # save prev
    prev_gen = c.general
    # change
    gen = General(log_format='LOG')
    c.general = gen
    h2 = c.get_hash()
    self.assertNotEqual(h1, h2)
    # set back
    c.general = prev_gen
    h3 = c.get_hash()
    self.assertEqual(h1, h3)