From 39da32ca85d25abe6d170fa234140d1309639c9c Mon Sep 17 00:00:00 2001 From: Davis Goglin Date: Wed, 30 Mar 2016 13:38:27 -0700 Subject: [PATCH] Define class vars first in __init__ --- test/test_cli.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test_cli.py b/test/test_cli.py index f1331e0..331eff6 100644 --- a/test/test_cli.py +++ b/test/test_cli.py @@ -32,6 +32,14 @@ class TestCLI: """ 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 def setup_class(): """ Create a config file to read from """