From bd653a6acdaf086ebe53dfe769f7339144e2f9a4 Mon Sep 17 00:00:00 2001 From: beuken Date: Tue, 6 Feb 2024 14:36:48 +0100 Subject: [PATCH] add import pytest in some files in integration_tests --- abipy/integration_tests/itest_ebands.py | 1 + abipy/integration_tests/itest_frohlich_zpr.py | 1 + abipy/integration_tests/itest_gw.py | 1 + abipy/integration_tests/itest_relaxations.py | 1 + 4 files changed, 4 insertions(+) diff --git a/abipy/integration_tests/itest_ebands.py b/abipy/integration_tests/itest_ebands.py index 8c66ac9b1..3c63ceb30 100644 --- a/abipy/integration_tests/itest_ebands.py +++ b/abipy/integration_tests/itest_ebands.py @@ -12,6 +12,7 @@ from abipy.core.testing import has_matplotlib +import pytest def make_scf_nscf_inputs(tvars, pp_paths, nstep=50): """ diff --git a/abipy/integration_tests/itest_frohlich_zpr.py b/abipy/integration_tests/itest_frohlich_zpr.py index e58529ca9..982b3969a 100644 --- a/abipy/integration_tests/itest_frohlich_zpr.py +++ b/abipy/integration_tests/itest_frohlich_zpr.py @@ -6,6 +6,7 @@ from abipy.dfpt.ddb import DdbFile +import pytest def make_scf_input(usepaw=0): """Returns the GS input file""" diff --git a/abipy/integration_tests/itest_gw.py b/abipy/integration_tests/itest_gw.py index 89bfa0fc0..27bde72d5 100644 --- a/abipy/integration_tests/itest_gw.py +++ b/abipy/integration_tests/itest_gw.py @@ -7,6 +7,7 @@ #from abipy.core.testing import has_abinit, has_matplotlib +import pytest def make_g0w0_inputs(ngkpt, tvars): """ diff --git a/abipy/integration_tests/itest_relaxations.py b/abipy/integration_tests/itest_relaxations.py index 6f56bd256..677557fec 100644 --- a/abipy/integration_tests/itest_relaxations.py +++ b/abipy/integration_tests/itest_relaxations.py @@ -9,6 +9,7 @@ from abipy.core.testing import has_matplotlib +import pytest def ion_relaxation(tvars, ntime=50): structure = abilab.Structure.from_file(abidata.cif_file("si.cif"))