You've already forked keep-it-secret
Release v1.0.0
This commit is contained in:
2
tests/fixtures/__init__.py
vendored
Normal file
2
tests/fixtures/__init__.py
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# type: ignore
|
||||
from .models import TestingSecrets # noqa: F401
|
||||
11
tests/fixtures/models.py
vendored
Normal file
11
tests/fixtures/models.py
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# type: ignore
|
||||
from __future__ import annotations
|
||||
|
||||
from keep_it_secret.fields import EnvField, LiteralField
|
||||
from keep_it_secret.secrets import Secrets
|
||||
|
||||
|
||||
class TestingSecrets(Secrets):
|
||||
spam: str = EnvField.new('KEEP_IT_SECRET_TESTS_SPAM')
|
||||
eggs: str = LiteralField.new('eggs')
|
||||
0
tests/fixtures/testing/__init__.py
vendored
Normal file
0
tests/fixtures/testing/__init__.py
vendored
Normal file
7
tests/fixtures/testing/example.py
vendored
Normal file
7
tests/fixtures/testing/example.py
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# type: ignore
|
||||
from __future__ import annotations
|
||||
|
||||
from tests.fixtures.models import TestingSecrets
|
||||
|
||||
__secrets__ = TestingSecrets()
|
||||
Reference in New Issue
Block a user