<s> from django . test import TestCase <EOL> from django . test . client import Client <EOL> class LoginTest ( TestCase ) : <EOL> fixtures = [ '<STR_LIT>' ] <EOL> def setUp ( self ) : <EOL> client = Client ( ) <EOL> def test_response ( self ) : <EOL> response = self . client . get ( '<STR_LIT>' , { '<STR_LIT:username>' : '<STR_LIT>' , '<STR_LIT:password>' : '<STR_LIT:password>' } ) <EOL> self . failUnlessEqual ( response . status_code , <NUM_LIT:200> ) <EOL> class KickstartTest ( TestCase ) : <EOL> fixtures = [ '<STR_LIT>' ] <EOL> def setUp ( self ) : <EOL> client = Client ( ) <EOL> def test_kickstart ( self ) : <EOL> response = self . client . get ( '<STR_LIT>' , HTTP_X_RHN_PROVISIONING_MAC_0 = '<STR_LIT>' ) <EOL> self . failUnlessEqual ( response . content , '<STR_LIT>' ) </s>
