Convert class methods to static
This commit is contained in:
parent
3017c14df2
commit
e545999aa2
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue