Fix tests.
This commit is contained in:
committed by
Honza Král
parent
171755f512
commit
27efc6d05a
@@ -27,7 +27,7 @@ class TestNormalizeHosts(TestCase):
|
|||||||
_normalize_hosts(["http://elasticsearch.org:9200/"])
|
_normalize_hosts(["http://elasticsearch.org:9200/"])
|
||||||
)
|
)
|
||||||
# schema triggers a warning
|
# schema triggers a warning
|
||||||
self.assertEquals(1, logger.warn.call_count)
|
self.assertEquals(1, logger.warning.call_count)
|
||||||
|
|
||||||
def test_single_string_is_wrapped_in_list(self):
|
def test_single_string_is_wrapped_in_list(self):
|
||||||
self.assertEquals(
|
self.assertEquals(
|
||||||
|
|||||||
Reference in New Issue
Block a user