1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
"""Test functions in es_client.defaults"""
from unittest import TestCase
from es_client.defaults import (
CLIENT_SETTINGS,
OTHER_SETTINGS,
client_settings,
other_settings,
)
class TestSettings(TestCase):
"""
Ensure test coverage of simple functions that might be deprecated in the future
"""
def test_client_settings(self):
"""Ensure matching output"""
assert CLIENT_SETTINGS == client_settings()
def test_other_settings(self):
"""Ensure matching output"""
assert OTHER_SETTINGS == other_settings()
|