Skip to content

Commit

Permalink
test test
Browse files Browse the repository at this point in the history
  • Loading branch information
kmlefran committed Dec 13, 2023
1 parent 3ff76a0 commit 8953326
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/calculations/test_aimqbcalculation.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
"""tests for AimqbCalculation"""

import os

from aiida.common import datastructures
from aiida.orm import SinglefileData

from aiida_aimall.data import AimqbParameters


def test_aimqb_default(fixture_sandbox, generate_calc_job, fixture_code):
def test_aimqb_default(
fixture_sandbox, generate_calc_job, fixture_code, filepath_tests
):
"""Tests that an aimcalculation can be instantiated"""
entry_point_name = "aimall"
parameters = AimqbParameters({"naat": 2, "nproc": 2, "atlaprhocps": True})
inputs = {
"code": fixture_code("aimall"),
"parameters": parameters,
"file": SinglefileData("inputs/water_wb97xd_augccpvtz_qtaim"),
"file": SinglefileData(
os.path.join(
filepath_tests(),
"calculations/inputs",
"water_wb97xd_augccpvtz_qtaim.wfx",
)
),
"metadata": {
"options": {
"resources": {"num_machines": 1, "num_mpiprocs_per_machine": 2},
Expand Down

0 comments on commit 8953326

Please sign in to comment.