Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
8ac91be4
Commit
8ac91be4
authored
2 years ago
by
BO ZHANG
Browse files
Options
Download
Email Patches
Plain Diff
updated FileRecorder.__repr__()
parent
14e9e1d4
dev
main
wangxia-main-patch-87026
zhaobowei-main-patch-61353
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_file_recorder.py
+2
-2
tests/test_file_recorder.py
with
2 additions
and
2 deletions
+2
-2
tests/test_file_recorder.py
+
2
-
2
View file @
8ac91be4
...
...
@@ -9,7 +9,7 @@ Modified-History:
2022-10-10, Bo Zhang, added test for FileRecorder
"""
import
unittest
from
csst_common.file_recorder
import
FileRecorder
,
File
from
csst_common.file_recorder
import
FileRecorder
,
File
Record
# deprecated in some days
...
...
@@ -19,4 +19,4 @@ class TestCsstMbiDataManager(unittest.TestCase):
def
test_add_record
(
self
):
self
.
fr
.
add_record
(
filepath
=
"test1"
,
db
=
False
,
comment
=
"the first test"
)
self
.
assertTrue
(
self
.
fr
[
0
]
==
File
(
"test1"
,
db
=
False
,
comment
=
"the first test"
,
existence
=
False
))
self
.
assertTrue
(
self
.
fr
[
0
]
==
File
Record
(
"test1"
,
db
=
False
,
comment
=
"the first test"
,
existence
=
False
))
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets