mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 07:22:29 +03:00
tests: standardize on VerboseFalseOptions as mock
This commit is contained in:
parent
7ff32bc4b0
commit
487269c667
5 changed files with 13 additions and 17 deletions
|
@ -27,6 +27,10 @@ from pathlib import Path
|
|||
GP_FINGERPRINT = 'B7C2EEFD8DAC7806AF67DFCD92EB18126BC08312A7F2D6F3862E46013C7A6135'
|
||||
|
||||
|
||||
class VerboseFalseOptions:
|
||||
verbose = False
|
||||
|
||||
|
||||
class TmpCwd:
|
||||
"""Context-manager for temporarily changing the current working directory."""
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue