<s> from nose import tools as nose <EOL> import unittest <EOL> from shiva import http <EOL> from shiva . app import app <EOL> class HTTPTestCase ( unittest . TestCase ) : <EOL> def test_options_method_returns_json_response ( self ) : <EOL> with app . app_context ( ) : <EOL> resource = http . Resource ( ) <EOL> nose . assert_true ( isinstance ( resource . options ( ) , http . JSONResponse ) ) </s>
