|
@@ -172,13 +172,13 @@ import pytest
|
|
|
@pytest.mark.parametrize(
|
|
|
"image_path, status, orientation, expire_date",
|
|
|
[
|
|
|
- ('../images/all/1/ 01_0.jpg', '000', 0, '20220511-20410511'),
|
|
|
- # ('../images/all/1/ 02_0.jpg', '000', 0, '20180531-20280531'),
|
|
|
- # ('../images/all/1/03_180.jpg', '000', 2, '20170109-20270109'),
|
|
|
- # ('../images/all/1/04_90.jpg', '000', 1, '20190715-20390715'),
|
|
|
- # ('../images/all/1/05-270.jpg', '000', 0, '20140320-20240320'),
|
|
|
- # ('../images/all/1/small.png', '000', 0, '20190620-20290620'),
|
|
|
- # ('../images/all/1/special.jpg', '000', 0, '20190813-20290813'),
|
|
|
+ ('../images/all/1/01_0.jpg', '000', 0, '20220511-20410511'),
|
|
|
+ ('../images/all/1/02_0.jpg', '000', 3, '20180531-20280531'),
|
|
|
+ ('../images/all/1/03_180.jpg', '000', 2, '20170109-20270109'),
|
|
|
+ ('../images/all/1/04_90.jpg', '000', 1, '20190715-20390715'),
|
|
|
+ ('../images/all/1/05-270.jpg', '000', 3, '20140320-20240320'),
|
|
|
+ ('../images/all/1/small.png', '000', 0, '20190620-20290620'),
|
|
|
+ ('../images/all/1/special.jpg', '000', 0, '20190813-20290813'),
|
|
|
]
|
|
|
)
|
|
|
def test_back_side(image_path, status, orientation, expire_date):
|
|
@@ -192,7 +192,5 @@ def test_back_side(image_path, status, orientation, expire_date):
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
if __name__ == '__main__':
|
|
|
unittest.main()
|