Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
8534bac6
Commit
8534bac6
authored
Jan 29, 2026
by
BO ZHANG
🏀
Browse files
assert products in dict type
parent
05708cc8
Pipeline
#12038
passed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_common/status.py
View file @
8534bac6
...
@@ -78,10 +78,9 @@ class CsstResult:
...
@@ -78,10 +78,9 @@ class CsstResult:
assert
isinstance
(
assert
isinstance
(
products
,
list
products
,
list
),
"`products` should be a list of `str` type objects."
),
"`products` should be a list of `str` type objects."
for
_
in
products
:
assert
isinstance
(
assert
isinstance
(
products
,
dict
_
,
str
),
"`products` should be a list of `str` type objects."
),
"`products` should be a list of `str` type objects."
for
_
in
files
:
for
_
in
files
:
assert
isinstance
(
_
,
str
),
"`files` should be a list of `str` type objects."
assert
isinstance
(
_
,
str
),
"`files` should be a list of `str` type objects."
self
.
status
:
CsstStatus
=
status
self
.
status
:
CsstStatus
=
status
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment