Horizon provides a base test case class which provides several useful pre-prepared attributes for testing Horizon components.
The OpenStack Dashboard also provides test case classes for greater ease-of-use when testing APIs and OpenStack-specific auth scenarios.