From 82b30c6909e345bb00c5e1b4183434086cc7d4b6 Mon Sep 17 00:00:00 2001 From: Charles Butler Date: Sat, 7 Jun 2014 09:52:08 -0400 Subject: [PATCH] fix test on bind provider --- contrib/tests/test_bind_provider.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/tests/test_bind_provider.py b/contrib/tests/test_bind_provider.py index f3cd913..3c2da1f 100644 --- a/contrib/tests/test_bind_provider.py +++ b/contrib/tests/test_bind_provider.py @@ -20,8 +20,8 @@ def test_first_setup(self, ugm, spcom): parser = MagicMock() bp.first_setup(parser) ugm.assert_called_once() - parser.dict_to_zone.assert_called_with({'rr': 'CNAME', 'alias': 'ns', - 'addr': 'ns1.example.com.', + parser.dict_to_zone.assert_called_with({'rr': 'A', 'alias': 'ns', + 'addr': '10.0.0.1', 'ttl': 300}) @patch('contrib.bind.provider.ZoneParser.dict_to_zone')