forked from freedombox/FreedomBox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backups: tests: Fix issue with usage of fixture 'needs_root'
Fixtures cannot be currently included into other fixtures by using @pytest.mark.fixtures('fixture_name') They have to be included as parameters instead. See bug: pytest-dev/pytest#3664 Also increase the scope of needs_root to the highest, i.e. session, so that it can be used by any kind of fixture. Signed-off-by: Joseph Nuthalapati <[email protected]>
- Loading branch information
1 parent
f4f9e2c
commit f85e782
Showing
2 changed files
with
58 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters