Refactor and Improve the Test
Learn to improve the test method using docstrings.
We'll cover the following...
In this lesson, we refactor our test methods. The purpose of this refactoring is to improve the method by making it more descriptive. We use the Python document string also called the docstring for this.
What are docstrings?
To add comments to our code in Python, we use the #
symbol, as shown below:
def
...