Rewrite and add pragmas to improve coverage of non-runnable test code
This commit is contained in:
parent
66f5ace917
commit
48f4be0bcf
3 changed files with 15 additions and 26 deletions
|
@ -13,7 +13,7 @@ from flaky import flaky
|
|||
WRITE_TEST = sys.version_info[:2] == (3, 8)
|
||||
|
||||
|
||||
def load_secrets():
|
||||
def load_secrets(): # pragma: no cover
|
||||
secrets_file = "test_pylast.yaml"
|
||||
if os.path.isfile(secrets_file):
|
||||
import yaml # pip install pyyaml
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue