<s> """<STR_LIT>""" <EOL> from zope . interface . verify import verifyObject <EOL> from . . testtools import EMPTY_NODE_STATE <EOL> from ... testtools import TestCase <EOL> from . . _deploy import ILocalState , NodeLocalState <EOL> class NodeLocalStateTests ( TestCase ) : <EOL> """<STR_LIT>""" <EOL> def test_ilocalstate ( self ) : <EOL> """<STR_LIT>""" <EOL> self . assertTrue ( <EOL> verifyObject ( ILocalState , <EOL> NodeLocalState ( node_state = EMPTY_NODE_STATE ) ) <EOL> ) <EOL> def test_node_state_reported ( self ) : <EOL> """<STR_LIT>""" <EOL> node_state = EMPTY_NODE_STATE <EOL> object_under_test = NodeLocalState ( node_state = node_state ) <EOL> self . assertEqual ( ( node_state , ) , <EOL> object_under_test . shared_state_changes ( ) ) </s>
