Skip to content

Commit

Permalink
fix: rename LHEInit to LHEInitInfo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
APN-Pucky committed Feb 20, 2024
1 parent 8ee70b7 commit ba19e88
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions tests/test_classes.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import pytest
import skhep_testdata

from pylhe import LHEEventInfo, LHEFile, LHEInit, LHEParticle, LHEProcInfo, read_lhe
from pylhe import (
LHEEventInfo,
LHEFile,
LHEInit,
LHEInitInfo,
LHEParticle,
LHEProcInfo,
read_lhe,
)

TEST_FILE = skhep_testdata.data_path("pylhe-testfile-pr29.lhe")

Expand Down Expand Up @@ -67,7 +75,7 @@ def test_LHEInit_fromstring():
"weightingStrategy": -4.0,
"numProcesses": 1.0,
}
assert LHEInit.fromstring(data) == result
assert LHEInitInfo.fromstring(data) == result


def test_LHEParticle_no_default_init():
Expand Down

0 comments on commit ba19e88

Please sign in to comment.