1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Lots of text_type

This commit is contained in:
Ross McFarland
2019-07-29 08:37:47 -07:00
parent ee0efc5b3a
commit a9d0eef3ba
17 changed files with 77 additions and 64 deletions

View File

@@ -7,6 +7,7 @@ from __future__ import absolute_import, division, print_function, \
from StringIO import StringIO
from logging import getLogger
from six import text_type
from unittest import TestCase
from octodns.provider.plan import Plan, PlanHtml, PlanLogger, PlanMarkdown
@@ -59,7 +60,7 @@ class TestPlanLogger(TestCase):
with self.assertRaises(Exception) as ctx:
PlanLogger('invalid', 'not-a-level')
self.assertEquals('Unsupported level: not-a-level',
ctx.exception.message)
text_type(ctx.exception))
def test_create(self):