mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
15 lines
315 B
Python
15 lines
315 B
Python
|
import pytest
|
||
|
|
||
|
from hamcrest import *
|
||
|
from vinyldns_python import VinylDNSClient
|
||
|
|
||
|
|
||
|
def test_ping(shared_zone_test_context):
|
||
|
"""
|
||
|
Tests that the ping endpoint works appropriately
|
||
|
"""
|
||
|
client = shared_zone_test_context.ok_vinyldns_client
|
||
|
result = client.ping()
|
||
|
|
||
|
assert_that(result, is_("PONG"))
|