Commit 8534bac6 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

assert products in dict type

parent 05708cc8
Pipeline #12038 passed with stage
in 0 seconds
......@@ -78,9 +78,8 @@ class CsstResult:
assert isinstance(
products, list
), "`products` should be a list of `str` type objects."
for _ in products:
assert isinstance(
_, str
products, dict
), "`products` should be a list of `str` type objects."
for _ in files:
assert isinstance(_, str), "`files` should be a list of `str` type objects."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment