this function does not need to be a local function of the to_dict namespace.
Details
Details
- Reviewers
ardumont - Group Reviewers
Reviewers - Commits
- rDMOD0a6d7e050d2c: Extract the dictify() function from BaseModel.to_dict()
Diff Detail
Diff Detail
- Repository
- rDMOD Data model
- Branch
- master
- Lint
Lint Skipped - Unit
Unit Tests Skipped - Build Status
Buildable 11077 Build 16694: tox-on-jenkins Jenkins Build 16693: arc lint + arc unit
Event Timeline
Comment Actions
Build is green
See https://jenkins.softwareheritage.org/job/DMOD/job/tox/209/ for more details.
Comment Actions
I do rely on nothing, just extracting a function ;-)
Now, I guess swh.model.model tests should be enough to cover this simple helper function. I do not see real value in adding tests here, other than for the sake of unit-ness of said tests.