diff --git a/tests/unit_tests/test_cell.py b/tests/unit_tests/test_cell.py index faecf0b63..56e610e26 100644 --- a/tests/unit_tests/test_cell.py +++ b/tests/unit_tests/test_cell.py @@ -294,9 +294,11 @@ def test_to_xml_element(cell_with_lattice): c = cells[0] c.temperature = 900.0 + c.volume = 1.0 elem = c.create_xml_subelement(root) assert elem.get('region') == str(c.region) assert elem.get('temperature') == str(c.temperature) + assert elem.get('volume') == str(c.volume) @pytest.mark.parametrize("rotation", [