<s> import logging <EOL> import testUtils as utils <EOL> import time <EOL> import threading <EOL> from conftest import IPADDRESS1 , RESOURCE , DUMMYVAL <EOL> from coap import coapDefines as d <EOL> log = logging . getLogger ( utils . getMyLoggerName ( ) ) <EOL> log . addHandler ( utils . NullHandler ( ) ) <EOL> def test_GET ( logFixture , snoopyDispatcher , twoEndPoints ) : <EOL> ( coap1 , coap2 ) = twoEndPoints <EOL> reply = coap2 . GET ( <EOL> uri = '<STR_LIT>' . format ( IPADDRESS1 , d . DEFAULT_UDP_PORT , RESOURCE ) , <EOL> confirmable = True , <EOL> ) <EOL> assert reply == DUMMYVAL </s>
