Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Four test assertions carried over from the C# suite are still commented out

Open Beginner friendly
#49 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
testing-qa

Research direction

Start at tests/test_dfsu2D.py lines 404, 469, and 806, plus tests/test_dfs_static_item.py line 113. Add the three specified AxisUnit assertions, then determine whether the remaining TODO should become a real test or be removed. Run the affected test files and confirm the assertions pass and no commented TODO remains.

Written by the indexing model from the issue text.

Description

Four assertions carried over from the original C# test suite are still commented out:

  • tests/test_dfsu2D.py:404 — # TODO: Assert.AreEqual(eumUnit.eumUmeter, axis.AxisUnit);
  • tests/test_dfsu2D.py:469 — same
  • tests/test_dfsu2D.py:806 — # TODO: Implement?
  • tests/test_dfs_static_item.py:113 — # TODO: Assert.AreEqual(eumUnit.eumUmeter, axis.AxisUnit

The three AxisUnit ones are a single, small check in Python:

assert axis.AxisUnit == eumUnit.eumUmeter

If that holds, the tests get slightly stronger for free. If it does not hold, that is more interesting than the test, and worth a separate issue.

test_dfsu2D.py:806 is vaguer and may just be a note that the C# original tested something the Python port does not cover; it should either become a real test or be removed.

Small, self-contained, and a reasonable first contribution.

Dominant language
Python
Stars
5
Forks
1
Avg merge
13m
Merged PRs (30d)
3

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DHI/mikecore-python

All issues in DHI/mikecore-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.