Remove use of the six library

Six is not required in Python3, removing it
accordingly.

Change-Id: I4463a011d8fa9ee5e58b6a67eed687e5c6713167
This commit is contained in:
Brendan Shephard 2022-04-08 10:40:19 +10:00
parent ebe72e7056
commit 30556b53cd
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ class TestOvercloudExport(utils.TestCommand):
mock_working_dir.return_value = 'wd'
heat = self.app.client_manager.orchestration
heat.stacks.client.session.get_endpoint.side_effect = EndpointNotFound
with mock.patch('six.moves.builtins.open', self.mock_open):
with mock.patch('builtins.open', self.mock_open):
self.cmd.take_action(parsed_args)
mock_working_dir.assert_called()
mock_copy.assert_called_with(