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

DM-38304: Fix crash in load-tap --dry-run command #19

Merged
merged 2 commits into from Mar 9, 2023

Conversation

andy-slac
Copy link
Contributor

create_mock_engine does not actually return an Engine, but a MockConnection instance which has very different API. Updated TapLoadingVisitor to handle their differences correctly. Added unit test for load-tap --dry-run.

@andy-slac andy-slac changed the title DM-38304: Fix xrash in load-tap --dry-run command DM-38304: Fix crash in load-tap --dry-run command Mar 9, 2023
`create_mock_engine` does not actually return an Engine, but a MockConnection
instance which has very different API. Updated TapLoadingVisitor to handle
their differences correctly. Added unit test for `load-tap --dry-run`.
@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.02 🎉

Comparison is base (8b088a5) 97.93% compared to head (d428e0f) 97.96%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #19      +/-   ##
==========================================
+ Coverage   97.93%   97.96%   +0.02%     
==========================================
  Files           6        6              
  Lines         388      393       +5     
==========================================
+ Hits          380      385       +5     
  Misses          8        8              
Impacted Files Coverage Δ
tests/test_cli.py 98.43% <100.00%> (+0.13%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@timj
Copy link
Member

timj commented Mar 9, 2023

Can you turn on python 3.11 in the build matrix?

Copy link
Member

@timj timj left a comment

Choose a reason for hiding this comment

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

Looks okay. Please add python 3.11 to matrix.

python/felis/cli.py Show resolved Hide resolved
@andy-slac andy-slac merged commit a0e8f0e into main Mar 9, 2023
@andy-slac andy-slac deleted the tickets/DM-38304 branch March 9, 2023 20:05
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.

None yet

2 participants