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

Fix API type check tests for frameworks #4670

Merged
merged 1 commit into from
Feb 23, 2023
Merged

Conversation

klecki
Copy link
Contributor

@klecki klecki commented Feb 21, 2023

Category: Bug fix

Description:

The test body was not executed correctly without the yield from. Adjust all the tests so they check for the expected error message.

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

Tests:

Adjust all the tests so they check for the expected error message.
Make sure the test for frameworks are actually executed.

  • Existing tests apply
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

The test body was not executed correctly without the yield from.
Adjust all the tests so they check for the expected error message.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
@klecki
Copy link
Contributor Author

klecki commented Feb 21, 2023

!build

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [7380273]: BUILD STARTED

@JanuszL JanuszL self-assigned this Feb 21, 2023
@klecki klecki changed the title Fix API type check tests for frameworks. Fix API type check tests for frameworks Feb 21, 2023
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [7380273]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [7380273]: BUILD PASSED

@klecki klecki merged commit 84665ea into NVIDIA:main Feb 23, 2023
aderylo pushed a commit to zpp-dali-2022/DALI that referenced this pull request Mar 17, 2023
The test body was not executed correctly without the `yield from`.
Adjust all the tests so they check for the expected error message.

Signed-off-by: Krzysztof Lecki <klecki@nvidia.com>
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.

4 participants