Skip to content

Commit a4a217d

Browse files
test: reformat tests
1 parent 5492ad8 commit a4a217d

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

tests/test_tools.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,19 +171,17 @@ def test_get_package_info(monkeypatch, inputs, expected):
171171
"inputs",
172172
[
173173
# Test when the function has invalid inputs
174-
# C1: Both mass density and packing fraction are provided, expect ValueError exception
175-
(
174+
( # C1: Both mass density and packing fraction are provided, expect ValueError exception
176175
{
177-
"sample_composition": "quartz",
176+
"sample_composition": "SiO2",
178177
"energy": 10,
179178
"sample_mass_density": 2.65,
180179
"packing_fraction": 1,
181180
}
182181
),
183-
# C2: None of mass density or packing fraction are provided, expect ValueError exception
184-
(
182+
( # C2: None of mass density or packing fraction are provided, expect ValueError exception
185183
{
186-
"sample_composition": "quartz",
184+
"sample_composition": "SiO2",
187185
"energy": 10,
188186
}
189187
),

0 commit comments

Comments
 (0)