Title: Wrong value of default parameter in report · Issue #227 · allure-framework/allure-python · GitHub
Open Graph Title: Wrong value of default parameter in report · Issue #227 · allure-framework/allure-python
X Title: Wrong value of default parameter in report · Issue #227 · allure-framework/allure-python
Description: I'm submitting a ... bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? This code produces wrong parameters values in report. @allu...
Open Graph Description: I'm submitting a ... bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? This code produces ...
X Description: I'm submitting a ... bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? This code pr...
Opengraph URL: https://github.com/allure-framework/allure-python/issues/227
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Wrong value of default parameter in report","articleBody":"#### I'm submitting a ... \r\n - [x] bug report\r\n - [ ] feature request\r\n - [ ] support request => Please do not submit support request here, see note at the top of this template.\r\n\r\n#### What is the current behavior?\r\n\r\nThis code produces wrong parameters values in report.\r\n\r\n```python\r\n@allure.step(\"abc\")\r\ndef abc(first_param, default_param=10):\r\n pass\r\n\r\ndef test_example():\r\n abc(1, 2)\r\n```\r\n\r\n```json\r\n \"steps\": [\r\n {\r\n \"name\": \"abc\",\r\n \"status\": \"passed\",\r\n \"parameters\": [\r\n {\r\n \"name\": \"first_param\",\r\n \"value\": \"1\"\r\n },\r\n {\r\n \"name\": \"default_param\",\r\n \"value\": \"10\"\r\n }\r\n ],\r\n```\r\n\r\n#### What is the expected behavior?\r\n\r\nI expect to see `default_param` equals 2 instead of 10.\r\n\r\n#### Please tell us about your environment:\r\n\r\n- Test framework: pytest@3.5.1\r\n- Allure adaptor: allure-pytest@2.3.2b1\r\n\r\n\r\n","author":{"url":"https://github.com/maratori","@type":"Person","name":"maratori"},"datePublished":"2018-05-20T17:22:12Z","url":"https://github.com/allure-framework/allure-python/issues/227"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fe687d5a-acbb-1878-c77a-fff49de1feed |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA44:5A822:1448CD:1BF85F:6AFD4D04 |
| html-safe-nonce | 0def4a0ff1bcb934032e2e1bfab4f9e64b59a0ce21f590aa9d5d666da0b869b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTQ0OjVBODIyOjE0NDhDRDoxQkY4NUY6NkFGRDREMDQiLCJ2aXNpdG9yX2lkIjoiMjgxMTcxMDA3ODgxMjI0NTI1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 046ac263cd7616e46f2996b129b05030753c96f1af7b2e66847e4531bc43ba5b |
| hovercard-subject-tag | issue:324725697 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/allure-framework/allure-python/227/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3fe03af55a30031b06b8aacb47f44b2e46a3979e9fb318916e68831db66f8213/allure-framework/allure-python/issues/227 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3fe03af55a30031b06b8aacb47f44b2e46a3979e9fb318916e68831db66f8213/allure-framework/allure-python/issues/227 |
| og:image:alt | I'm submitting a ... bug report feature request support request => Please do not submit support request here, see note at the top of this template. What is the current behavior? This code produces ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maratori |
| hostname | github.com |
| expected-hostname | github.com |
| None | 66653c2e55a6fff2930be1bdf07ee4f8aa137e3956d056c822563be6f878755e |
| turbo-cache-control | no-preview |
| go-import | github.com/allure-framework/allure-python git https://github.com/allure-framework/allure-python.git |
| octolytics-dimension-user_id | 5879127 |
| octolytics-dimension-user_login | allure-framework |
| octolytics-dimension-repository_id | 79346720 |
| octolytics-dimension-repository_nwo | allure-framework/allure-python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 79346720 |
| octolytics-dimension-repository_network_root_nwo | allure-framework/allure-python |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b6f01f7cb9f35f8c09949773241a3d49dd04b340 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width