Skip to content

Commit

Permalink
✅ fix power unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apearce committed Nov 14, 2024
1 parent 586b820 commit d0aa300
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/unit/test_power.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class PfpwrParam(NamedTuple):

cptdin: Any = None

curpfb: Any = None
curpfs: Any = None

sxlg: Any = None

Expand Down Expand Up @@ -497,7 +497,7 @@ class PfpwrParam(NamedTuple):
),
order="F",
).transpose(),
curpfb=numpy.array(
curpfs=numpy.array(
numpy.array(
(
0.067422231232391661,
Expand Down Expand Up @@ -1239,7 +1239,7 @@ class PfpwrParam(NamedTuple):
),
order="F",
).transpose(),
curpfb=numpy.array(
curpfs=numpy.array(
numpy.array(
(
0.019288882290113718,
Expand Down Expand Up @@ -1812,7 +1812,7 @@ def test_pfpwr(pfpwrparam, monkeypatch, power):

monkeypatch.setattr(pfcoil_variables, "cptdin", pfpwrparam.cptdin)

monkeypatch.setattr(pfcoil_variables, "curpfb", pfpwrparam.curpfb)
monkeypatch.setattr(pfcoil_variables, "curpfs", pfpwrparam.curpfs)

monkeypatch.setattr(pfcoil_variables, "sxlg", pfpwrparam.sxlg)

Expand Down

0 comments on commit d0aa300

Please sign in to comment.