py3 update and lint fixes

This commit is contained in:
Anthony Shaw 2017-04-01 10:14:29 +11:00
parent eb542b8dc7
commit 9db623ada2
No known key found for this signature in database
GPG Key ID: AB4A19AE1CE85744

View File

@ -1,17 +1,17 @@
import integration
import tests.integration as integration
class LibcloudDNSTest(integration.ModuleCase):
'''
Validate the test module
Validate the libcloud_dns module
'''
def test_list_record_types(self):
'''
test.ping
libcloud_dns.list_record_types
'''
# Simple profile (no special kwargs)
self.assertTrue('SPF' in self.run_function('libcloud_dns.list_record_types', ['profile_test1']))
# Complex profile (special kwargs)
accepted_record_types = self.run_function('libcloud_dns.list_record_types', ['profile_test2'])