From e545999aa2eb9fa2c84b53c5c980ae805fae5c5d Mon Sep 17 00:00:00 2001 From: Davis Goglin Date: Wed, 30 Mar 2016 13:38:03 -0700 Subject: [PATCH] Convert class methods to static --- test/test_cli.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/test_cli.py b/test/test_cli.py index 84572cd..f1331e0 100644 --- a/test/test_cli.py +++ b/test/test_cli.py @@ -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)