mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
py3 update and lint fixes
This commit is contained in:
parent
eb542b8dc7
commit
9db623ada2
@ -1,17 +1,17 @@
|
|||||||
import integration
|
import tests.integration as integration
|
||||||
|
|
||||||
|
|
||||||
class LibcloudDNSTest(integration.ModuleCase):
|
class LibcloudDNSTest(integration.ModuleCase):
|
||||||
'''
|
'''
|
||||||
Validate the test module
|
Validate the libcloud_dns module
|
||||||
'''
|
'''
|
||||||
def test_list_record_types(self):
|
def test_list_record_types(self):
|
||||||
'''
|
'''
|
||||||
test.ping
|
libcloud_dns.list_record_types
|
||||||
'''
|
'''
|
||||||
# Simple profile (no special kwargs)
|
# Simple profile (no special kwargs)
|
||||||
self.assertTrue('SPF' in self.run_function('libcloud_dns.list_record_types', ['profile_test1']))
|
self.assertTrue('SPF' in self.run_function('libcloud_dns.list_record_types', ['profile_test1']))
|
||||||
|
|
||||||
# Complex profile (special kwargs)
|
# Complex profile (special kwargs)
|
||||||
accepted_record_types = self.run_function('libcloud_dns.list_record_types', ['profile_test2'])
|
accepted_record_types = self.run_function('libcloud_dns.list_record_types', ['profile_test2'])
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user