Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Add example project for offline builds #340

Merged
merged 8 commits into from
Nov 22, 2023
Merged

Commits on Nov 22, 2023

  1. Configuration menu
    Copy the full SHA
    dc644ec View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dec2b06 View commit details
    Browse the repository at this point in the history
  3. tests.project: chdir in fixture

    nbraud authored and duckinator committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    5cba4ae View commit details
    Browse the repository at this point in the history
  4. tests: Use helpers.chdir in test_download

    This way, once the test returns, the working directory returns to what it was.
    nbraud authored and duckinator committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    392bc45 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1fa217c View commit details
    Browse the repository at this point in the history
  6. tests/: Sprinkle some pylint pragmas

    nbraud authored and duckinator committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    0ef9b88 View commit details
    Browse the repository at this point in the history
  7. tests: Use bork's current source tree rather than the one from git

    Noticed in #344:
    - `test_repo[bork]` runs `python -m bork` in a copy of the bork repo;
    - the Python interpreter looks for the `bork` module, finds the `bork/` folder in the (current) working directory;
    - the version of bork being run is the one `project_src` provided, rather than the one pytest was called against.
    nbraud authored and duckinator committed Nov 22, 2023
    Configuration menu
    Copy the full SHA
    74d4b50 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c0f2da8 View commit details
    Browse the repository at this point in the history