keep-it-secret/tests/ext/loader/test_load_secrets.py
2024-01-04 20:30:54 +01:00

16 lines
325 B
Python

# -*- 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)