Commit 29023fcc authored by Nicolas Wavrant's avatar Nicolas Wavrant

tests/cli: hardcode 'PARTITION_01' as partition name otherwise tests don't like it

parent 93d37131
...@@ -328,7 +328,7 @@ class TestCliSupervisorctl(CliMixin): ...@@ -328,7 +328,7 @@ class TestCliSupervisorctl(CliMixin):
class TestCliConsole(unittest.TestCase): class TestCliConsole(unittest.TestCase):
def setUp(self): def setUp(self):
cp = slapos.slap.ComputerPartition('computer_id', 'partition_id') cp = slapos.slap.ComputerPartition('computer_id', 'PARTITION_01')
cp._parameter_dict = {'parameter_name': 'parameter_value'} cp._parameter_dict = {'parameter_name': 'parameter_value'}
request_patch = patch.object(slapos.slap.OpenOrder, 'request', return_value = cp) request_patch = patch.object(slapos.slap.OpenOrder, 'request', return_value = cp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment