From 1a67755f6aca5dac26dcc686c60c95b0809986e3 Mon Sep 17 00:00:00 2001 From: Ethan Peterson Date: Wed, 19 Oct 2022 14:27:18 -0400 Subject: [PATCH] update unit test --- tests/unit_tests/test_cell.py | 2 ++ 1 file changed, 2 insertions(+) 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", [