def METHOD_NAME(self):
    # Arrange
    next_url = "/admin/"
    default_url = "/dashboard/"
    # Act
    url = safe_next_or_default_url(next_url, default_url)
    # Assert
    self.assertEqual(url, next_url)