update unit test

This commit is contained in:
Ethan Peterson 2022-10-19 14:27:18 -04:00
parent e64fb4cd41
commit 1a67755f6a

View file

@ -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", [