You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the test cases to test some sftp related features under different OS . For example test the file path existence under both windows and Linux.
The test function support two kind of parameters , first parameter is the fixture returns a paramiko ssh connection , the second parameter is a normal string parameter for the file path.
But some parameter group is unnecessary, like windows OS + linux file path . Is there a way to define the mapping between the normal parametrize with the fixture params (I don't want to write too much if ... else ... in the test method )
The text was updated successfully, but these errors were encountered:
I have the test cases to test some sftp related features under different OS . For example test the file path existence under both windows and Linux.
The test function support two kind of parameters , first parameter is the fixture returns a paramiko ssh connection , the second parameter is a normal string parameter for the file path.
Now the pytest traverse all the possible parameter groups
But some parameter group is unnecessary, like windows OS + linux file path . Is there a way to define the mapping between the normal parametrize with the fixture params (I don't want to write too much if ... else ... in the test method )
The text was updated successfully, but these errors were encountered: