mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
remove the integration test for dns
This commit is contained in:
parent
f2800da985
commit
48d2575f77
@ -1,21 +0,0 @@
|
|||||||
# -*- coding: utf-8 -*-
|
|
||||||
from __future__ import absolute_import
|
|
||||||
|
|
||||||
from tests.support.case import ModuleCase
|
|
||||||
|
|
||||||
|
|
||||||
class LibcloudDNSTest(ModuleCase):
|
|
||||||
'''
|
|
||||||
Validate the libcloud_dns module
|
|
||||||
'''
|
|
||||||
def test_list_record_types(self):
|
|
||||||
'''
|
|
||||||
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'])
|
|
||||||
|
|
||||||
self.assertTrue(isinstance(accepted_record_types, list) and 'SRV' in accepted_record_types)
|
|
Loading…
Reference in New Issue
Block a user