mirror of
				https://github.com/github/octodns.git
				synced 2024-05-11 05:55:00 +00:00 
			
		
		
		
	Remove explicit use of six
This commit is contained in:
		@@ -9,7 +9,6 @@ from mock import Mock, call
 | 
			
		||||
from os.path import dirname, join
 | 
			
		||||
from requests import HTTPError
 | 
			
		||||
from requests_mock import ANY, mock as requests_mock
 | 
			
		||||
from six import text_type
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
from octodns.record import Record
 | 
			
		||||
@@ -54,7 +53,7 @@ class TestDnsimpleProvider(TestCase):
 | 
			
		||||
            with self.assertRaises(Exception) as ctx:
 | 
			
		||||
                zone = Zone('unit.tests.', [])
 | 
			
		||||
                provider.populate(zone)
 | 
			
		||||
            self.assertEquals('Unauthorized', text_type(ctx.exception))
 | 
			
		||||
            self.assertEquals('Unauthorized', str(ctx.exception))
 | 
			
		||||
 | 
			
		||||
        # General error
 | 
			
		||||
        with requests_mock() as mock:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user