Define class vars first in __init__
This commit is contained in:
parent
e545999aa2
commit
39da32ca85
|
@ -32,6 +32,14 @@ class TestCLI:
|
||||||
""" Contains setups, teardowns, and tests for CLI
|
""" Contains setups, teardowns, and tests for CLI
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
""" Initalize the tests.
|
||||||
|
Just define some vars here since most of them get set during
|
||||||
|
setup_class and teardown_class
|
||||||
|
"""
|
||||||
|
self.env = None
|
||||||
|
self.default_args = None
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def setup_class():
|
def setup_class():
|
||||||
""" Create a config file to read from """
|
""" Create a config file to read from """
|
||||||
|
|
Loading…
Reference in New Issue