'Test uses administrative credentials to create a
HA (High Availability) router using the ha=True.
Acceptance
The router is created and the "ha" attribute is set to True'

@decorators.idempotent_id('8abc177d-14f1-4018-9f01-589b299cbee1')
def test_ha_router_creation(self):

    name = data_utils.rand_name('router')
    router = self.admin_client.create_router(name, ha=True)
    self.addCleanup(self.admin_client.delete_router, router['router']['id'])
    self.assertTrue(router['router']['ha'])
