• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MITLibraries / transmogrifier / 9276150478
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: v3.8
DEFAULT BRANCH: main
Ran 28 May 2024 08:49PM UTC
Jobs 1
Files 22
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 May 2024 08:44PM UTC coverage: 99.116% (+0.02%) from 99.097%
9276150478

Pull #177

github

jonavellecuerdo
Field method refactor for OaiDc and SpringshareOaiDc transforms

Why these changes are being introduced:
* These updates are required to implement the architecture described
in the following ADR: https://github.com/MITLibraries/transmogrifier/blob/main/docs/adrs/0005-field-methods.md

How this addresses that need:
* Refactor base transform class OaiDc to contain get_*
methods for optional fields
* Make 'source_record' the first argument in OaiDc field methods
* Move 'or None' to the return statements of field methods
* Remove 'source_record_id' as param, replace with call inside field method instead
* Raise SkippedRecordEvent
  * OaiDc.get_source_record_id
  * SpringshareOaiDc.get_source_link
* Update unit tests
  * Remove OaiDc and SpringshareOaiDc record_* fixtures

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-283
Pull Request #177: Timx 283 oaidc field method refactor

68 of 68 new or added lines in 2 files covered. (100.0%)

1458 of 1471 relevant lines covered (99.12%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 9276150478.1 28 May 2024 08:49PM UTC 0
99.12
GitHub Action Run
Source Files on build 9276150478
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #177
  • PR Base - main (#9226189643)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc