Convert class methods to static

This commit is contained in:
Davis Goglin 2016-03-30 13:38:03 -07:00
parent 3017c14df2
commit e545999aa2
1 changed files with 4 additions and 4 deletions

View File

@ -32,14 +32,14 @@ class TestCLI:
""" Contains setups, teardowns, and tests for CLI
"""
@classmethod
def setup_class(cls):
@staticmethod
def setup_class():
""" Create a config file to read from """
with open(CONFIGFILE, 'w') as config:
config.write(CONFIG_YAML)
@classmethod
def teardown_class(cls):
@staticmethod
def teardown_class():
""" Remove config file """
os.remove(CONFIGFILE)