<s> from django . utils import http <EOL> from django . utils import unittest <EOL> class TestUtilsHttp ( unittest . TestCase ) : <EOL> def test_same_origin_true ( self ) : <EOL> self . assertTrue ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> self . assertTrue ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> self . assertTrue ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> self . assertTrue ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> def test_same_origin_false ( self ) : <EOL> self . assertFalse ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> self . assertFalse ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> self . assertFalse ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) <EOL> self . assertFalse ( http . same_origin ( '<STR_LIT>' , '<STR_LIT>' ) ) </s>
