Skip to content

Phishing protection: unit tests fail #8098

@tseaver

Description

@tseaver

See this Kokoro failure, which I can reproduce locally:

_ ERROR collecting tests/unit/gapic/v1beta1/test_phishing_protection_service_client_v1beta1.py _
tests/unit/gapic/v1beta1/test_phishing_protection_service_client_v1beta1.py:21: in <module>
    from google.cloud import phishingprotection_v1beta1
google/cloud/phishingprotection_v1beta1/__init__.py:20: in <module>
    from google.cloud.phishingprotection_v1beta1.gapic import (
google/cloud/phishingprotection_v1beta1/gapic/phishing_protection_service_client.py:40: in <module>
    "google-cloud-phishingprotection"
.nox/unit-3-6/lib/python3.6/site-packages/pkg_resources/__init__.py:481: in get_distribution
    dist = get_provider(dist)
.nox/unit-3-6/lib/python3.6/site-packages/pkg_resources/__init__.py:357: in get_provider
    return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
.nox/unit-3-6/lib/python3.6/site-packages/pkg_resources/__init__.py:900: in require
    needed = self.resolve(parse_requirements(requirements))
.nox/unit-3-6/lib/python3.6/site-packages/pkg_resources/__init__.py:786: in resolve
    raise DistributionNotFound(req, requirers)
E   pkg_resources.DistributionNotFound: The 'google-cloud-phishingprotection' distribution was not found and is required by the application

Metadata

Metadata

Assignees

Labels

api: phishingprotectionIssues related to the Phishing Protection API.testingtype: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions