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

Unit tests for #178 #179

Merged
merged 44 commits into from
Jan 22, 2025
Merged

Unit tests for #178 #179

merged 44 commits into from
Jan 22, 2025

Conversation

e100
Copy link
Collaborator

@e100 e100 commented Jan 11, 2025

No description provided.

Copy link

github-actions bot commented Jan 11, 2025

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/fixgw
  __init__.py
  cfg.py 221-223, 310-316, 341
  database.py
  plugin.py
  server.py
  status.py
  version.py
  src/fixgw/netfix
  QtDb.py 44
  __init__.py 88
  db.py 34, 96, 101, 153-156, 190-193, 206, 296, 317, 337, 357, 377, 397, 464, 477, 546
  src/fixgw/plugins/canfix
  __init__.py 119, 135
  mapping.py 267, 277, 291, 311-312, 335-336, 343, 451, 469
  src/fixgw/plugins/demo
  __init__.py 676
  src/fixgw/plugins/fgfs
  __init__.py 88-92, 121, 127, 132, 191, 199
  src/fixgw/plugins/netfix
  __init__.py
  src/fixgw/plugins/xplane
  __init__.py
Project Total  

This report was generated by python-coverage-comment-action

e100 added 21 commits January 11, 2025 11:28
…sure the counts are accurate, fixed some quorum related bugs, updated tests to include verifying the counters are correct
… errors are located in the configuration files
…e of exception messages in canfix mapping that use the metadata and added two tests to check that the output of the exceptions correctly reports the filename, line and column of the configuration error
…g info, added new option in mapfile to ignore invalid fixids, the code already silently ignored them, this is the first step in removing that silent failure by at last making it explicit that it does this. I dislike trying to figure out why something is not working because the application provides no feedback about a problem or inform you that it silently ignores some config errors
… dict before it is fully populated, added some debug messages
e100 added 8 commits January 18, 2025 15:09
…d numerous bugs and corner cases so I have addressed most of them. Also improvd the loop detection, I think it will properly identify where the loop is happening but needs more testing
…est.py for shared fixtures in canfix tests, ensure fix database is loaded new for each test
@e100 e100 merged commit d2df935 into makerplane:master Jan 22, 2025
1 check 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.

1 participant