Define class vars first in __init__

This commit is contained in:
Davis Goglin 2016-03-30 13:38:27 -07:00
parent e545999aa2
commit 39da32ca85
1 changed files with 8 additions and 0 deletions

View File

@ -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 """