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 """ Contains setups, teardowns, and tests for CLI
""" """
@classmethod @staticmethod
def setup_class(cls): def setup_class():
""" Create a config file to read from """ """ Create a config file to read from """
with open(CONFIGFILE, 'w') as config: with open(CONFIGFILE, 'w') as config:
config.write(CONFIG_YAML) config.write(CONFIG_YAML)
@classmethod @staticmethod
def teardown_class(cls): def teardown_class():
""" Remove config file """ """ Remove config file """
os.remove(CONFIGFILE) os.remove(CONFIGFILE)