Updating test to add check for 'void' in material name.

This commit is contained in:
Patrick Shriwise 2019-10-07 23:21:42 -05:00
parent 6e9a78c431
commit ec59d02300
3 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<materials>
<material depletable="true" id="40" name="fuel">
<material depletable="true" id="40" name="no-void fuel">
<density units="g/cc" value="11" />
<nuclide ao="1.0" name="U235" />
</material>

View file

@ -33,7 +33,7 @@ class DAGMCLegacyTest(PyAPITestHarness):
model.tallies = [tally]
# materials
u235 = openmc.Material(name="fuel")
u235 = openmc.Material(name="no-void fuel")
u235.add_nuclide('U235', 1.0, 'ao')
u235.set_density('g/cc', 11)
u235.id = 40