Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
superstar54 committed Jan 9, 2025
1 parent 7da19e2 commit 58c735f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/test_calculation_history.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
import pytest


@pytest.mark.usefixtures("aiida_profile_clean")
def test_calculation_history(generate_qeapp_workchain):
def test_calculation_history(sssp, generate_qeapp_workchain):
from aiidalab_qe.app.utils.search_jobs import CalculationHistory

workchain = generate_qeapp_workchain()
workchain.node.seal()

calculation_history = CalculationHistory()
calculation_history.load_table()
assert len(calculation_history.table.data) == 1
assert len(calculation_history.table.data) >= 1

0 comments on commit 58c735f

Please sign in to comment.