Update test for class to have argument params

This commit is contained in:
Tony Narlock 2013-11-04 12:32:22 +08:00
parent e0bda82a13
commit f917180904

View File

@ -12,7 +12,15 @@ class Foo:
baz = 2
"""Docstring for class attribute Foo.baz."""
def __init__(self):
def __init__(self, qux, spam=False):
"""Start the Foo.
:param qux: The first argument to initialize class.
:type qux: string
:param spam: Spam me yes or no...
:type spam: bool
"""
#: Doc comment for instance attribute qux.
self.qux = 3