Skip to content

Commit

Permalink
Add test whether decorators are in place
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-schlipf committed Feb 4, 2025
1 parent 0f79d29 commit 2eb8d8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/calculation/test_exciton_density.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,8 @@ def test_print(exciton_density, format_):
grid: 10, 12, 14
excitons: 3"""
assert actual == {"text/plain": expected_text}


def test_factory_methods(raw_data, check_factory_methods):
data = raw_data.exciton_density()
check_factory_methods(ExcitonDensity, data)

0 comments on commit 2eb8d8d

Please sign in to comment.