Skip to content

Commit

Permalink
Removed unnecessary TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed Nov 9, 2023
1 parent b88f1c4 commit 2a17599
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/openapi_server/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from openapi_server.models.extra_models import TokenModel
from openapi_server.security_api import get_token_basic

environ.Env.read_env("../.env") # TODO this is hideous
environ.Env.read_env("../.env")
MARKLOGIC_HOST = os.environ["MARKLOGIC_API_CLIENT_HOST"]
SECURITY_TOKEN_MODEL = Security(get_token_basic)

Expand Down
1 change: 0 additions & 1 deletion tests/test_status_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ def test_get_status_no_such_user(mocked_client=None):
mocked_client.return_value.user_can_view_unpublished_judgments.assert_called_with(
"user",
)
# TODO: This will break when only_published becomes silently false.


@patch("openapi_server.apis.status_api.client_for_basic_auth")
Expand Down

0 comments on commit 2a17599

Please sign in to comment.