from ralph.ui.tests.global_utils import login_as_su
.....
self.client = login_as_su()