forked from aiidalab/aiidalab-qe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7da19e2
commit 58c735f
Showing
1 changed file
with
2 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |