Skip to content

Commit 1a67755

Browse files
committed
update unit test
1 parent e64fb4c commit 1a67755

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/unit_tests/test_cell.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,11 @@ def test_to_xml_element(cell_with_lattice):
294294

295295
c = cells[0]
296296
c.temperature = 900.0
297+
c.volume = 1.0
297298
elem = c.create_xml_subelement(root)
298299
assert elem.get('region') == str(c.region)
299300
assert elem.get('temperature') == str(c.temperature)
301+
assert elem.get('volume') == str(c.volume)
300302

301303

302304
@pytest.mark.parametrize("rotation", [

0 commit comments

Comments
 (0)