Remove unused project_ids in test_list_projects

This is to remove unused project_ids in test_list_projects,
also to change some unnecessary instance variables to local
variables, and also to use cls.__name__ in rand_name.

Change-Id: I4ef0b16db0869597e09e62d1694dbbb13013271b
1 file changed