tests: remove old changed_files()
test
This test relied on an old version of the `flake8_package` fixture that modified the spack repository, but it doesn't do that anymore. There are other tests for `changed_files()` that do a better job of mocking up a git repository with changes, so we can just delete this one.
This commit is contained in:
parent
98d6862787
commit
ab04d697c7
1 changed files with 0 additions and 10 deletions
|
@ -87,16 +87,6 @@ def flake8_package_with_errors(scope="function"):
|
|||
shutil.move(tmp, filename)
|
||||
|
||||
|
||||
def test_changed_files(flake8_package):
|
||||
# changed_files returns file paths relative to the root
|
||||
# directory of Spack. Convert to absolute file paths.
|
||||
files = [os.path.join(spack.paths.prefix, os.path.normpath(path)) for path in changed_files()]
|
||||
|
||||
# There will likely be other files that have changed
|
||||
# when these tests are run
|
||||
assert flake8_package in files
|
||||
|
||||
|
||||
def test_changed_files_from_git_rev_base(tmpdir, capfd):
|
||||
"""Test arbitrary git ref as base."""
|
||||
git = which("git", required=True)
|
||||
|
|
Loading…
Reference in a new issue