Skip to content

Mark tests requiring network access #457

@mcepl

Description

@mcepl

All builds (and running test suites as part of them) of OpenSUSE packages (the same for every other Linux or Mac distribution) happen in the chrooted environment without the network access, which makes running of the test suite for this package extremely awkward. Most of tests fail because they require network access, which is a bad idea even for other reasons (mocking is the way to go).

no-network.patch is the solution of my problem, marking all tests requiring network access appropriately, and then skipping so marked ones.

Environment details

  • OS type and version: any build system without network access
  • Python version: any (tested with Python 3.6-3.9)
  • pip version: any
  • google-cloud-storage version: 1.38.0 (from the tarball from PyPI)

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the googleapis/python-storage API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions