def METHOD_NAME(cls):
    super(ViewTestCase, cls).METHOD_NAME()
    cls.domain = Domain(name="donkeykong", is_active=True)
    cls.domain.save()
    cls.username = 'bananafana'
    cls.password = '*******'
    cls.user = WebUser.create(cls.domain.name, cls.username, cls.password, None, None)
    cls.user.set_role(cls.domain.name, 'admin')
    cls.user.save()