'Call ``PUT /regions/{region_id}``.'

def test_create_region_with_duplicate_id(self):

    ref = unit.new_region_ref()
    region_id = ref['id']
    self.put(('/regions/%s' % region_id), body={'region': ref}, expected_status=http_client.CREATED)
    self.put(('/regions/%s' % region_id), body={'region': ref}, expected_status=http_client.CONFLICT)
