<s> from oslotest import base <EOL> from requests_mock . contrib import fixture as requests_fixture <EOL> from keystoneclient_kerberos . tests import utils <EOL> REQUEST = { '<STR_LIT>' : { '<STR_LIT>' : { '<STR_LIT>' : [ '<STR_LIT>' ] , <EOL> '<STR_LIT>' : { } } } } <EOL> class TestCase ( base . BaseTestCase ) : <EOL> """<STR_LIT>""" <EOL> TEST_ROOT_URL = utils . TEST_ROOT_URL <EOL> TEST_V3_URL = TEST_ROOT_URL + '<STR_LIT>' <EOL> def setUp ( self ) : <EOL> super ( TestCase , self ) . setUp ( ) <EOL> self . requests_mock = self . useFixture ( requests_fixture . Fixture ( ) ) <EOL> km = utils . KerberosMock ( self . requests_mock ) <EOL> self . kerberos_mock = self . useFixture ( km ) <EOL> def assertRequestBody ( self , body = None ) : <EOL> """<STR_LIT>""" <EOL> if not body : <EOL> body = self . requests_mock . last_request . json ( ) <EOL> self . assertEqual ( REQUEST , body ) </s>
