Skip to content

ref: remove unused admin_context, click_echo, and test import - #11

Merged
paulmueller merged 1 commit into
DCOR-dev:masterfrom
paulmueller-agent:remove-unused-code
Nov 5, 2026
Merged

paulmueller merged 1 commit into
DCOR-dev:masterfrom
paulmueller-agent:remove-unused-code

Conversation

@paulmueller-agent

Copy link
Copy Markdown

Removes code that is not used anywhere in the DCOR packages:

  • jobs.admin_context() (it also used the hard-coded user "default")
  • cli.click_echo()
  • the import of the dcor_shared.testing.create_with_upload_no_temp fixture in tests/test_route.py (none of the tests use it; the fixture is for legacy uploads via CKAN and will be removed from dcor_shared, so this PR should be merged first)

CHANGELOG: entries under the unreleased 1.0.4.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.46%. Comparing base (4e10709) to head (def994d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   94.63%   95.46%   +0.83%     
==========================================
  Files          12       12              
  Lines         447      441       -6     
==========================================
- Hits          423      421       -2     
+ Misses         24       20       -4     
Flag Coverage Δ
develop 95.46% <100.00%> (+0.83%) ⬆️
pypi 95.46% <100.00%> (+0.83%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ 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.

@paulmueller
paulmueller merged commit 9ac2788 into DCOR-dev:master Nov 5, 2026
5 checks passed
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