Skip to content

Commit e43f921

Browse files
committed
tests
1 parent fd7706a commit e43f921

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/test_data_description.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def test_constructors(self):
122122
investigators=["Jane Smith"],
123123
)
124124

125-
AnalysisDescription(
125+
ad = AnalysisDescription(
126126
analysis_name="analysis",
127127
project_name="project",
128128
creation_time=dt,
@@ -134,6 +134,8 @@ def test_constructors(self):
134134
investigators=["Jane Smith"],
135135
)
136136

137+
self.assertEqual(ad.label, "project_analysis")
138+
137139
with self.assertRaises(ValueError):
138140
AnalysisDescription(
139141
analysis_name="ana lysis",

0 commit comments

Comments
 (0)