Skip to content

Commit

Permalink
More specific test name
Browse files Browse the repository at this point in the history
  • Loading branch information
lang-m committed Jun 9, 2024
1 parent 1e81940 commit 3fe64cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion micromagnetictests/calculatortests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
from .fixedsubregions import TestFixedSubregions as TestFixedSubregions
from .hysteresisdriver import Ms as Ms
from .hysteresisdriver import system as system
from .hysteresisdriver import test_check_for_energy as test_check_for_energy
from .hysteresisdriver import (
test_hysteresis_check_for_energy as test_hysteresis_check_for_energy,
)
from .hysteresisdriver import test_simple_hysteresis_loop as test_simple_hysteresis_loop
from .hysteresisdriver import (
test_stepped_hysteresis_loop as test_stepped_hysteresis_loop,
Expand Down
2 changes: 1 addition & 1 deletion micromagnetictests/calculatortests/hysteresisdriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def test_stepped_hysteresis_loop(calculator, system, Ms):
calculator.delete(system)


def test_check_for_energy(calculator):
def test_hysteresis_check_for_energy(calculator):
system = mm.examples.macrospin()
system.energy = 0
hd = calculator.HysteresisDriver()
Expand Down

0 comments on commit 3fe64cb

Please sign in to comment.