diff --git a/tests/unit_server/rest_handler_test.py b/tests/unit_server/rest_handler_test.py index a1561b52..0b7e9c5a 100644 --- a/tests/unit_server/rest_handler_test.py +++ b/tests/unit_server/rest_handler_test.py @@ -73,28 +73,7 @@ def test_rest_handler_get_current_user(): assert rh.auth_key == token -# def test_rest_handler_get_json_body_argument(): -# rh = RestHandler() -# rh.initialize() -# rh.request = MagicMock() -# rh.request.body = json.dumps({'foo': 'bar'}) -# assert rh.get_json_body_argument('foo') == 'bar' - -# with pytest.raises(Exception): -# rh.get_json_body_argument('baz') - - -# def test_rest_handler_get_argument(): -# rh = RestHandler() -# rh.initialize() -# rh.request = MagicMock() -# rh.request.body = json.dumps({'foo': 'bar'}) - -# assert rh.get_argument('foo') == 'bar' - -# with pytest.raises(Exception): -# rh.get_argument('baz') def test_keycloak_username_mixin():