mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-20 18:40:28 +00:00
Add snapshot tests for resolver (#5404)
## Summary This PR adds some snapshot tests for the resolver based on executing resolutions within a "mock" of the Airflow repo (that is: a folder that contains a subset of the repo's files, but all empty, and with an only-partially-complete virtual environment). It's intended to act as a lightweight integration test, to enable us to test resolutions on a "real" project without adding a dependency on Airflow itself.
This commit is contained in:
parent
a68a86e18b
commit
6587fb844a
32 changed files with 391 additions and 22 deletions
|
@ -12,5 +12,3 @@ mod python_platform;
|
|||
mod python_version;
|
||||
mod resolver;
|
||||
mod search;
|
||||
|
||||
pub(crate) const SITE_PACKAGES: &str = "site-packages";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue