Removed hardcoded value from function call

This commit is contained in:
Kush Bavishi 2019-08-07 14:02:10 -07:00
parent b4f4e4dc24
commit cadf372f7b
1 changed files with 2 additions and 1 deletions

View File

@ -421,7 +421,8 @@ class TestAcme(unittest.TestCase):
@patch("lemur.extensions.metrics")
def test_wait_for_dns_change(self, mock_metrics, mock_current_app):
ultradns._has_dns_propagated = Mock(return_value=True)
ultradns.get_authoritative_nameserver = Mock(return_value="0.0.0.0")
nameserver = "0.0.0.0"
ultradns.get_authoritative_nameserver = Mock(return_value=nameserver)
mock_metrics.send = Mock()
domain = "_acme-challenge.test.example.com"
token = "ABCDEFGHIJ"