def setUp(self):
        self.client.login(username='admin', password='root')
def warn(txt, act, opt):
    if opt.get('display_examples'):
        print(txt + ":\n" + str(act))
    else:
        warn_once(txt)