mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Change import style
This commit is contained in:
parent
7e6d3d81b9
commit
825c50a438
@ -1,5 +1,5 @@
|
||||
import json
|
||||
from test.support import EnvironmentVarGuard
|
||||
from test import support
|
||||
|
||||
from django.test import TestCase, override_settings
|
||||
import django.core.exceptions as django_exceptions
|
||||
@ -449,7 +449,7 @@ class TestSettings(TestCase):
|
||||
|
||||
def setUp(self) -> None:
|
||||
self.user_mdl = get_user_model()
|
||||
self.env = EnvironmentVarGuard()
|
||||
self.env = support.EnvironmentVarGuard()
|
||||
|
||||
def run_reload(self):
|
||||
from plugin import registry
|
||||
|
Loading…
Reference in New Issue
Block a user