Skip to content

improved io import tests - #2014

Merged
joernu76 merged 5 commits into
Open-MSS:developfrom
ReimarBauer:i2004
Sep 8, 2023
Merged

improved io import tests#2014
joernu76 merged 5 commits into
Open-MSS:developfrom
ReimarBauer:i2004

Conversation

@ReimarBauer

Copy link
Copy Markdown
Member

Purpose of PR?:

Fixes #2004

Does this PR introduce a breaking change?
changed the timeout for pytest to 30 seconds. Fixed the import io tests.

If the changes in this PR are manually verified, list down the scenarios covered::

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Does this PR results in some Documentation changes?
If yes, include the list of Documentation changes

Checklist:

  • Bug fix. Fixes #
  • New feature (Non-API breaking changes that adds functionality)
  • PR Title follows the convention of <type>: <subject>
  • Commit has unit tests

import_plugins = {
"Text": ["txt", "mslib.plugins.io.text", "load_from_txt"],
"FliteStar": ["fls", "mslib.plugins.io.flitestar", "load_from_flitestar"],
"TXT": ["txt", "mslib.plugins.io.text", "load_from_txt"],

@ReimarBauer ReimarBauer Sep 7, 2023

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, that needs a further review

We need one more test.

@ReimarBauer
ReimarBauer requested a review from joernu76 September 8, 2023 07:15
@joernu76

joernu76 commented Sep 8, 2023

Copy link
Copy Markdown
Member

I do not understand neither the problem nor the solution.
Under what circumstances does the traceback appear?

@ReimarBauer

Copy link
Copy Markdown
Member Author

The test was able to do something without that the files exists and didn't fail. So it can't been tested if something was imported.

look for.

f'test_import{ext}'

@joernu76
joernu76 merged commit 8919575 into Open-MSS:develop Sep 8, 2023
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.

develop tests: wrong testdir file for ImportFlightTrack

2 participants