16 lines
325 B
Python
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)
|