'Test v2 get_all_projects having projects that act as a domain.
In v2 no project with the is_domain flag enabled should be returned.'

def test_list_is_domain_project_not_found(self):

    project1 = self._create_is_domain_project()
    project2 = self._create_is_domain_project()
    refs = self.tenant_controller.get_all_projects(self.make_request(is_admin=True))
    projects = refs.get('tenants')
    self.assertNotIn(project1, projects)
    self.assertNotIn(project2, projects)
