Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

Commit

Permalink
Merge c58407f into efa8538
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed Mar 31, 2016
2 parents efa8538 + c58407f commit debbcaf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion buildtimetrend/test/dashboard_tests.py
Expand Up @@ -41,7 +41,8 @@ def setUpClass(cls):
cls.project_info = Settings().get_project_info()
cls.maxDiff = None

def tearDown(self):
@staticmethod
def tearDown():
"""Clean up after tests"""
if (check_file(constants.DASHBOARD_TEST_CONFIG_FILE)):
os.remove(constants.DASHBOARD_TEST_CONFIG_FILE)
Expand Down
3 changes: 2 additions & 1 deletion buildtimetrend/test/trend_test.py
Expand Up @@ -37,7 +37,8 @@ def setUp(self):
"""Initialise test environment before each test."""
self.trend = Trend()

def tearDown(self):
@staticmethod
def tearDown():
"""Clean up after tests"""
if (tools.check_file(TEST_TREND_FILE)):
os.remove(TEST_TREND_FILE)
Expand Down
3 changes: 2 additions & 1 deletion buildtimetrend/travis/test/env_var_test.py
Expand Up @@ -31,7 +31,8 @@ class TestTravisEnvVar(unittest.TestCase):

"""Unit tests for Travis CI environment variable related functions"""

def setUp(self):
@staticmethod
def setUp():
"""Initialise test environment before each test."""
# reinit settings singleton
Settings().__init__()
Expand Down

0 comments on commit debbcaf

Please sign in to comment.