Skip to content

Commit

Permalink
Use dataset from the test configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Nov 13, 2024
1 parent c8b5592 commit 87f6402
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions validphys2/src/validphys/tests/test_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest

from validphys.api import API
from validphys.tests.conftest import DATA, PDF, THEORYID
from validphys.tests.conftest import DATA, PDF, SINGLE_DATASET, THEORYID

TOLERANCE_VALUE = 18

Expand Down Expand Up @@ -47,10 +47,7 @@ def test_plotfancy():
return next(
iter(
API.plot_fancy(
dataset_input={'dataset': 'NMC_NC_NOTFIXED_P_EM-SIGMARED', 'variant': 'legacy'},
theoryid=THEORYID,
pdfs=[PDF],
use_cuts='internal',
dataset_input=SINGLE_DATASET, theoryid=THEORYID, pdfs=[PDF], use_cuts='internal'
)
)
)
Expand Down

0 comments on commit 87f6402

Please sign in to comment.