We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09dab48 commit 714e314Copy full SHA for 714e314
2 files changed
tests/agent_tests.py
@@ -5,6 +5,7 @@
5
import uuid
6
7
import consulate
8
+from consulate import utils
9
10
from . import base
11
@@ -55,7 +56,7 @@ def test_metrics_forbidden(self):
55
56
57
def test_monitor(self):
58
for line in self.consul.agent.monitor():
- self.assertIsInstance(line, str)
59
+ self.assertTrue(utils.is_string(line))
60
break
61
62
def test_monitor_forbidden(self):
tests/kv_tests.py
@@ -1,3 +1,4 @@
1
+# -*- coding: utf-8 -*-
2
import json
3
import unittest
4
try:
0 commit comments