Skip to content

Add ability to authenticate with blueapi#40

Open
jacob720 wants to merge 19 commits into
mainfrom
auth
Open

Add ability to authenticate with blueapi#40
jacob720 wants to merge 19 commits into
mainfrom
auth

Conversation

@jacob720

@jacob720 jacob720 commented Jun 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 78.94737% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.00%. Comparing base (7e5ed63) to head (6cb368b).

Files with missing lines Patch % Lines
...ing_service/blueapi_interaction/token_retriever.py 42.10% 11 Missing ⚠️
...daq_queuing_service/blueapi_interaction/clients.py 95.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #40      +/-   ##
==========================================
- Coverage   98.48%   97.00%   -1.48%     
==========================================
  Files          14       17       +3     
  Lines         725      769      +44     
==========================================
+ Hits          714      746      +32     
- Misses         11       23      +12     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@DominicOram DominicOram left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, some comments in code

@@ -0,0 +1,2 @@
def test_get_valid_access_token():

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must: Remove bad test

from daq_queuing_service.log import LOGGER


class UDCTokenRetriever:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should: I think it would be good to have some unit tests on this

from daq_queuing_service.blueapi_interaction.token_retriever import UDCTokenRetriever


def get_blueapi_clients(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should: I think it would be good to have some unit tests on this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants