bito-code-review[bot] commented on code in PR #38075:
URL: https://github.com/apache/superset/pull/38075#discussion_r2825736783


##########
tests/unit_tests/db_engine_specs/test_base.py:
##########
@@ -360,6 +360,51 @@ def test_unmask_encrypted_extra() -> None:
     )
 
 
[email protected](
+    "masked_encrypted_extra,expected_result",

Review Comment:
   <div>
   
   
   <div id="suggestion">
   <div id="issue"><b>Parametrize decorator expects tuple not string</b></div>
   <div id="fix">
   
   The `@pytest.mark.parametrize` decorator at line 364 uses a string for the 
first argument instead of a tuple. Change 
`"masked_encrypted_extra,expected_result"` to a tuple 
`("masked_encrypted_extra", "expected_result")` to comply with pytest 
requirements.
   </div>
   
   
   <details>
   <summary>
   <b>Code suggestion</b>
   </summary>
   <blockquote>Check the AI-generated fix before applying</blockquote>
   <div id="code">
   
   
   ````suggestion
   @pytest.mark.parametrize(
       ("masked_encrypted_extra", "expected_result"),
   ````
   
   </div>
   </details>
   
   
   
   </div>
   
   
   
   
   <small><i>Code Review Run #824288</i></small>
   </div>
   
   ---
   Should Bito avoid suggestions like this for future reviews? (<a 
href=https://alpha.bito.ai/home/ai-agents/review-rules>Manage Rules</a>)
   - [ ] Yes, avoid them



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to