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

Commit

Permalink
Merge 1b2d85d into efa8538
Browse files Browse the repository at this point in the history
  • Loading branch information
ruleant committed Mar 31, 2016
2 parents efa8538 + 1b2d85d commit 1c7f176
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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

0 comments on commit 1c7f176

Please sign in to comment.