Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/session str badhostname #355

Merged
merged 6 commits into from
Mar 12, 2024
Merged

Conversation

randallfrank
Copy link
Collaborator

There was a bug in the str(Session) call. html_hostname keyword output generated invalid Python code.

The hostname should be output as a string so that str(session) returns a valid Python command.
The raw session ctor is now tested.
The 'Session' ctor needs to be accessible.
The Session module is implicitly used.
Fix spacing
@mariostieriansys
Copy link
Collaborator

thanks @randallfrank, I was talking with Jerfried of exactly this issue we found

@mariostieriansys mariostieriansys enabled auto-merge (squash) March 12, 2024 09:06
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.32%. Comparing base (763ca03) to head (e1f435e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #355      +/-   ##
==========================================
- Coverage   81.35%   81.32%   -0.04%     
==========================================
  Files          17       17              
  Lines        3331     3331              
  Branches      688      656      -32     
==========================================
- Hits         2710     2709       -1     
- Misses        348      349       +1     
  Partials      273      273              

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

@mariostieriansys mariostieriansys merged commit 8322958 into main Mar 12, 2024
24 checks passed
@mariostieriansys mariostieriansys deleted the fix/session_str_badhostname branch March 12, 2024 10:07
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.

3 participants