Skip to content

Commit

Permalink
Be a little more explicit in the test
Browse files Browse the repository at this point in the history
  • Loading branch information
keckler committed Oct 20, 2024
1 parent f9d4dd4 commit 27e2619
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,13 @@ def test_interactEveryNode(self):

def test_interactEveryNodeWhenCoupled(self):
"""
Test that the XS lib is not cleared when coupled iterations are turned on.
Test that the XS lib is not cleared when coupled iterations are turned on
and XS will be generated during the coupled iterations.
"""
self.o.couplingIsActive = lambda: True
self.latticeInterface._latticePhysicsFrequency = (
LatticePhysicsFrequency.firstCoupledIteration
)
self.latticeInterface.interactEveryNode()
self.assertEqual(self.o.r.core.lib, "Nonsense")

Expand Down

0 comments on commit 27e2619

Please sign in to comment.