def METHOD_NAME(self):
    page = self.get(reverse("customer:login"))
    form = page.forms["login_form"]
    form["login-username"] = self.staff.email
    form["login-password"] = self.password
    response = form.submit("login_submit")
    self.assertRedirectsTo(response, "dashboard:index")