Skip to content

split tests/test_osmnx.py into an offline and online versions #1405

Description

@jgmbenoit

Contributing guidelines

  • I understand the contributing guidelines

Documentation

  • My proposal is not addressed by the documentation or examples

Existing issues

  • Nothing similar appears in an existing issue

What problem does your feature proposal solve?

Some distribution (e.g., Debian), tests at building time have to be performed offline (for obvious security reasons). Gathering tests that need access to the internet and those that does not need would simplify the packaging of OSMnx. I suggest to split into two files, however other solutions may do the job: introducing an environment variable for specifying that the tests must be run offline can be a good alternative the job.

What is your proposed solution?

easing distribution packaging

What alternatives have you considered?

Elaborating complex scheme to test at building time only the tests that do not access to the internet.

Additional context

https://salsa.debian.org/python-team/packages/osmnx

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions