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:
@@ -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):
|
||||
|
||||
|
Reference in New Issue
Block a user