Fix unit test in resource_test.
Fix unit test in resource_test.

google-octo/cloud-builders,GoogleCloudPlatform/cloud-builders,google-octo/cloud-builders,GoogleCloudPlatform/cloud-builders,google-octo/cloud-builders,GoogleCloudPlatform/cloud-builders,GoogleCloudPlatform/cloud-builders,GoogleCloudPlatform/cloud-builders,GoogleCloudPlatform/cloud-builders,google-octo/cloud-builders,google-octo/cloud-builders,google-octo/cloud-builders,GoogleCloudPlatform/cloud-builders,google-octo/cloud-builders