You've already forked keep-it-secret
Release v1.0.0
This commit is contained in:
0
tests/ext/loader/__init__.py
Normal file
0
tests/ext/loader/__init__.py
Normal file
15
tests/ext/loader/test_load_secrets.py
Normal file
15
tests/ext/loader/test_load_secrets.py
Normal file
@@ -0,0 +1,15 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# type: ignore
|
||||
from __future__ import annotations
|
||||
|
||||
from keep_it_secret.ext import loader
|
||||
|
||||
from tests.fixtures import TestingSecrets
|
||||
|
||||
|
||||
def test_load_secrets():
|
||||
# When
|
||||
result = loader.load_secrets('tests.fixtures', 'testing', 'example')
|
||||
|
||||
# Then
|
||||
assert isinstance(result, TestingSecrets)
|
||||
Reference in New Issue
Block a user