diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2023-12-27 23:52:19 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-28 08:52:19 +0100 |
commit | 6855512301eb04ecef4e39d65ba838a53c3f0dcb (patch) | |
tree | 1246893e01e0aa6384571a4f73a3a761b11925e7 /share | |
parent | f721d4c6256c05e40e5b71d8ae570e55ec3d9825 (diff) | |
download | spack-6855512301eb04ecef4e39d65ba838a53c3f0dcb.tar.gz spack-6855512301eb04ecef4e39d65ba838a53c3f0dcb.tar.bz2 spack-6855512301eb04ecef4e39d65ba838a53c3f0dcb.tar.xz spack-6855512301eb04ecef4e39d65ba838a53c3f0dcb.zip |
gc tests: replace `find()` with DB query (#41876)
Per https://github.com/spack/spack/pull/41731#discussion_r1434827924, This cleans up
the tests for `spack gc` by replacing
```python
assert <string> in find()
```
with the more precise
```python
assert mutable_database.query_local(<string>)
```
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions