Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
rename tests
Browse files Browse the repository at this point in the history
Co-Authored-By: Adam Wierzbicki <awierzbicki@golem.network>
  • Loading branch information
maaktweluit and Wiezzel authored Jul 3, 2019
1 parent c59a158 commit 9f1657a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/golem/envs/docker/cpu/test_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,21 +426,21 @@ def test_valid_multi_work_dir(self, *_):
DockerCPUEnvironment._validate_config(config)

@patch('pathlib.Path.is_dir', return_value=True)
def test_valid_multi_work_dir_same_error(self, *_):
def test_multi_work_dir_same_error(self, *_):
work_dirs = [Path('/a'), Path('/a')]
config = DockerCPUConfig(work_dirs=work_dirs)
with self.assertRaises(ValueError):
DockerCPUEnvironment._validate_config(config)

@patch('pathlib.Path.is_dir', return_value=True)
def test_valid_multi_work_dir_child_error(self, *_):
def test_multi_work_dir_child_error(self, *_):
work_dirs = [Path('/a/b'), Path('/a')]
config = DockerCPUConfig(work_dirs=work_dirs)
with self.assertRaises(ValueError):
DockerCPUEnvironment._validate_config(config)

@patch('pathlib.Path.is_dir', return_value=True)
def test_valid_multi_work_dir_parent_error(self, *_):
def test_multi_work_dir_parent_error(self, *_):
work_dirs = [Path('/a'), Path('/a/b')]
config = DockerCPUConfig(work_dirs=work_dirs)
with self.assertRaises(ValueError):
Expand Down

0 comments on commit 9f1657a

Please # to comment.