Improved tests

This commit is contained in:
Sven Heidemann 2020-12-25 19:32:55 +01:00
parent 305f4b34de
commit eec9bca498
4 changed files with 3 additions and 2 deletions

View File

@ -15,6 +15,7 @@ class ProviderTest(unittest.TestCase):
self._configuration = self._app_host.configuration self._configuration = self._app_host.configuration
self._services = self._app_host.services self._services = self._app_host.services
self._configuration.add_environment_variables('CPL_')
self._configuration.add_argument_variables() self._configuration.add_argument_variables()
self._configuration.add_json_file(f'appsettings.json') self._configuration.add_json_file(f'appsettings.json')
self._configuration.add_json_file(f'appsettings.{self._configuration.environment.environment_name}.json') self._configuration.add_json_file(f'appsettings.{self._configuration.environment.environment_name}.json')

View File

@ -2,8 +2,8 @@ import unittest
from typing import Type from typing import Type
from tests.cases.service.provider_test import ProviderTest from tests.cases.service.provider_test import ProviderTest
from tests.cases.time.time_format_settings import TimeFormatSettingsTest from tests.cases.time.time_format_settings_test import TimeFormatSettingsTest
from tests.cases.utils.credential_manager import CredentialManagerTest from tests.cases.utils.credential_manager_test import CredentialManagerTest
class Tester: class Tester: