Removed hardcoded value from function call
This commit is contained in:
parent
b4f4e4dc24
commit
cadf372f7b
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user