Skip to content

Commit 345bb30

Browse files
committed
Add custom test support documentation back
1 parent b8472df commit 345bb30

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

docs/custom.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,16 @@
44
Custom Test Support
55
===================
66

7-
Test support has not yet been upgraded for 2020.
7+
.. contents::
8+
9+
pytest fixtures
10+
---------------
11+
12+
.. automodule:: pyfrc.test_support.pytest_plugin
13+
:members:
14+
15+
Controlling the robot's state
16+
-----------------------------
17+
18+
.. automodule:: pyfrc.test_support.controller
19+
:members:

pyfrc/test_support/controller.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99

1010
class TestController:
11+
"""
12+
Use this object to control the robot's state during tests
13+
"""
14+
1115
def __init__(self, reraise, robot: wpilib.RobotBase):
1216
self._reraise = reraise
1317

0 commit comments

Comments
 (0)