Skip to content

Commit

Permalink
remove deprecated tests - 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ric-evans committed Oct 6, 2023
1 parent 49e2425 commit 831b8b0
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/unit_server/rest_handler_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 831b8b0

Please sign in to comment.