<s> from test_extensions . django_common import DjangoCommon <EOL> class AdminTests ( DjangoCommon ) : <EOL> "<STR_LIT>" <EOL> def test_login_for_home_page ( self ) : <EOL> self . login_as_admin ( ) <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assert_code ( response , <NUM_LIT:200> ) <EOL> self . assert_response_contains ( '<STR_LIT>' , response ) <EOL> def test_not_logged_in_homepage ( self ) : <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assert_code ( response , <NUM_LIT:200> ) <EOL> self . assert_response_contains ( '<STR_LIT>' , response ) <EOL> def test_runner_admin_registered ( self ) : <EOL> self . login_as_admin ( ) <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assert_code ( response , <NUM_LIT:200> ) <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assert_code ( response , <NUM_LIT:200> ) <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assert_code ( response , <NUM_LIT:200> ) <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assert_code ( response , <NUM_LIT:200> ) <EOL> response = self . client . get ( '<STR_LIT>' ) <EOL> self . assert_code ( response , <NUM_LIT:200> ) </s>
