<s> from __future__ import ( <EOL> absolute_import , <EOL> print_function , <EOL> unicode_literals , <EOL> ) <EOL> from unittest import TestCase <EOL> from pydocx . openxml . wordprocessing import Hyperlink <EOL> class HyperlinkTestCase ( TestCase ) : <EOL> def test_target_uri_is_None_by_default ( self ) : <EOL> link = Hyperlink ( ) <EOL> self . assertEqual ( link . target_uri , None ) <EOL> def test_target_uri_can_be_set_manually ( self ) : <EOL> link = Hyperlink ( ) <EOL> link . target_uri = '<STR_LIT:foo>' <EOL> self . assertEqual ( link . target_uri , '<STR_LIT:foo>' ) </s>
