Skip to content

Commit e0ec118

Browse files
author
Ramon Adolfo Arambula
committed
tests + docs: made test_scheduling_info.py more readable + made sure doc tests generate correctly
1 parent 997c61c commit e0ec118

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/user_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Slurm // Local // LSF // PBS // Cobalt
298298
.. literalinclude:: ../tests/getting_started/test_scheduling_information.py
299299
:language: python
300300
:dedent: 4
301-
:lines: 6-18
301+
:lines: 7-20
302302

303303
The `<QUEUE_NAME>` and `<ALLOCATION>` fields will depend on the system you are
304304
running on.

tests/getting_started/test_scheduling_information.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ def test_getting_started_scheduling_info(execparams: ExecutorTestParams) -> None
1111
executable="/bin/date",
1212
resources=ResourceSpecV1(node_count=1),
1313
# attributes=JobAttributes(
14-
# queue_name="<QUEUE_NAME>", project_name="<ALLOCATION>"
14+
# queue_name="<QUEUE_NAME>",
15+
# project_name="<ALLOCATION>"
1516
# ),
1617
)
1718
)

0 commit comments

Comments
 (0)