Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Shay Arbov committed Dec 28, 2017
1 parent 37fd554 commit fafb9b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions docker_test_tools/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ def get_env_config(self):
"""Update the config values based on env variables."""
self.log_path = os.environ.get(self.LOG_PATH_ENV_VAR, self.log_path)
self.project_name = os.environ.get(self.PROJECT_NAME_ENV_VAR, self.project_name)
self.collect_stats = os.environ.get(self.COLLECT_STATS_ENV_VAR, self.collect_stats)
self.reuse_containers = os.environ.get(self.REUSE_CONTAINERS_ENV_VAR, self.reuse_containers)
self.docker_compose_path = os.environ.get(self.DOCKER_COMPOSE_PATH_ENV_VAR, self.docker_compose_path)

Expand Down
8 changes: 0 additions & 8 deletions docker_test_tools/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,6 @@ def startTest(self, event):
test_name = event.test.id().split('.')[-1]
self.controller.update_plugins(test_name)

# def stopTest(self, event):
# """"Run on test stop.
#
# - Write a test ended log message to the main log file.
# """
# test_name = event.test.id().split('.')[-1]
# self.controller.write_common_log_message("TEST ENDED: {test_name}".format(test_name=test_name))

def stopTestRun(self, event):
"""Tears down the environment using docker commands."""
if self.controller:
Expand Down

0 comments on commit fafb9b5

Please sign in to comment.