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

test: add parameter defaults to our signature generation test #793

Merged
merged 1 commit into from
Apr 7, 2022

Conversation

ST-DDT
Copy link
Member

@ST-DDT ST-DDT commented Apr 7, 2022

While reviewing #792 (comment) I noticed, that we currently don't test our parameter default generation/extraction for the api docs.

This PR fixes that.

I moved some code to utils in order to reuse them in the test to avoid differences between the two.

@ST-DDT ST-DDT added c: docs Improvements or additions to documentation c: test labels Apr 7, 2022
@ST-DDT ST-DDT added this to the v6.2 - New small features milestone Apr 7, 2022
@ST-DDT ST-DDT requested review from a team April 7, 2022 10:12
@ST-DDT ST-DDT self-assigned this Apr 7, 2022
@codecov
Copy link

codecov bot commented Apr 7, 2022

Codecov Report

Merging #793 (36a3606) into main (81171c9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #793   +/-   ##
=======================================
  Coverage   99.34%   99.34%           
=======================================
  Files        1921     1921           
  Lines      177120   177120           
  Branches      909      909           
=======================================
  Hits       175967   175967           
  Misses       1097     1097           
  Partials       56       56           

@Shinigami92 Shinigami92 requested a review from a team April 7, 2022 11:17
@ST-DDT ST-DDT added p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug labels Apr 7, 2022
@ST-DDT ST-DDT changed the title test: add parameter default tests to our signature generation test test: add parameter defaults to our signature generation test Apr 7, 2022
@ST-DDT ST-DDT merged commit 5aa8eeb into main Apr 7, 2022
@ST-DDT ST-DDT deleted the test/scripts/apidoc/signature-test-parameter-defaults branch April 7, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: docs Improvements or additions to documentation c: test p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants