From 831b8b04093137ddc31779cae8c7b3233fb471a7 Mon Sep 17 00:00:00 2001 From: Ric Evans Date: Fri, 6 Oct 2023 16:41:33 -0500 Subject: [PATCH] remove deprecated tests - 3 --- tests/unit_server/rest_handler_test.py | 21 --------------------- 1 file changed, 21 deletions(-) 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():