<s> from django_hosts . utils import normalize_scheme , normalize_port <EOL> from . base import HostsTestCase <EOL> class UtilsTest ( HostsTestCase ) : <EOL> def test_normalize_scheme ( self ) : <EOL> self . assertEqual ( normalize_scheme ( '<STR_LIT:http>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( normalize_scheme ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( normalize_scheme ( ) , '<STR_LIT>' ) <EOL> def test_normalize_port ( self ) : <EOL> self . assertEqual ( normalize_port ( None ) , '<STR_LIT>' ) <EOL> self . assertEqual ( normalize_port ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( normalize_port ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( normalize_port ( '<STR_LIT>' ) , '<STR_LIT>' ) <EOL> self . assertEqual ( normalize_port ( ) , '<STR_LIT>' ) </s>
