<s> from dubbo_client import ZookeeperRegistry , MulticastRegistry , Registry <EOL> __author__ = '<STR_LIT>' <EOL> def multicat ( ) : <EOL> registry = MulticastRegistry ( '<STR_LIT>' ) <EOL> registry . subscribe ( '<STR_LIT>' ) <EOL> print registry . get_provides ( '<STR_LIT>' ) <EOL> def zookeeper ( ) : <EOL> registry = ZookeeperRegistry ( '<STR_LIT>' ) <EOL> registry . subscribe ( '<STR_LIT>' ) <EOL> print registry . get_provides ( '<STR_LIT>' ) <EOL> def test_registry ( ) : <EOL> registry = Registry ( ) <EOL> registry . _add_node ( "<STR_LIT>" , <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> registry . _add_node ( "<STR_LIT>" , <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" <EOL> "<STR_LIT>" ) <EOL> assert registry . _service_provides <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> multicat ( ) </s>
