1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Move utility functions for secrets to secrets/utils.py

This commit is contained in:
Jeremy Stretch
2020-01-14 12:11:14 -05:00
parent c084547dca
commit f27e06e619
3 changed files with 35 additions and 29 deletions

View File

@ -7,7 +7,8 @@ from django.core.exceptions import ValidationError
from django.test import TestCase
from secrets.hashers import SecretValidationHasher
from secrets.models import UserKey, Secret, encrypt_master_key, decrypt_master_key, generate_random_key
from secrets.models import Secret, UserKey
from secrets.utils import encrypt_master_key, decrypt_master_key, generate_random_key
class UserKeyTestCase(TestCase):