Skip to content

Commit 47fc045

Browse files
author
Vasileios Karakasis
authored
Merge pull request #2266 from vkarak/testlib/fix-docs
[testlib] Fix test library docs and rearrange the Jupyter tests
2 parents d1b89ac + bcec870 commit 47fc045

File tree

7 files changed

+14
-6
lines changed

7 files changed

+14
-6
lines changed

cscs-checks/apps/jupyter/check_ipcmagic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import reframe as rfm
77

8-
from hpctestlib.sciapps.jupyter.ipcmagic import ipcmagic_check
8+
from hpctestlib.interactive.jupyter.ipcmagic import ipcmagic_check
99

1010

1111
@rfm.simple_test

cscs-checks/apps/spark/spark_check.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
import reframe as rfm
77

8-
from hpctestlib.data_analytics.spark.compute_pi import compute_pi_check
8+
from hpctestlib.data_analytics.spark.spark_checks import compute_pi_check
99

1010

1111
@rfm.simple_test

docs/hpctestlib.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ This is a collection of generic tests that you can either run out-of-the-box by
77
Scientific Applications
88
-----------------------
99

10-
.. automodule:: hpctestlib.apps.amber.nve
10+
.. automodule:: hpctestlib.sciapps.amber.nve
11+
:members:
12+
:show-inheritance:
13+
14+
15+
Data Analytics
16+
--------------
17+
18+
.. automodule:: hpctestlib.data_analytics.spark.spark_checks
1119
:members:
1220
:show-inheritance:
1321

@@ -21,8 +29,8 @@ Python
2129

2230

2331
Interactive Computing
24-
-----------------------
32+
---------------------
2533

26-
.. automodule:: hpctestlib.apps.jupyter.ipcmagic
34+
.. automodule:: hpctestlib.interactive.jupyter.ipcmagic
2735
:members:
2836
:show-inheritance:

hpctestlib/data_analytics/spark/compute_pi/__init__.py renamed to hpctestlib/data_analytics/spark/spark_checks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class compute_pi_check(rfm.RunOnlyRegressionTest, pin_prefix=True):
3535

3636
#: Parameter encoding the variant of the test.
3737
#:
38-
#: :type:`str`
38+
#: :type: :class:`str`
3939
#: :values: ``['spark', 'pyspark']``
4040
variant = parameter(['spark', 'pyspark'])
4141

0 commit comments

Comments
 (0)