File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 13
13
from __future__ import absolute_import
14
14
15
15
import copy
16
+ from textwrap import dedent
16
17
17
18
import pytest
18
19
from mock import Mock , patch , MagicMock
19
20
from packaging import version
20
- from textwrap import dedent
21
21
22
22
from sagemaker import LocalSession
23
23
from sagemaker .dataset_definition .inputs import (
@@ -1122,12 +1122,8 @@ def test_get_codeartifact_command(pipeline_session):
1122
1122
codeartifact_repo_arn = codeartifact_repo_arn
1123
1123
)
1124
1124
1125
- assert (
1126
- codeartifact_command == (
1127
- "aws codeartifact login --tool pip --domain test-domain " ,
1128
- "--domain-owner 012345678901 --repository test-repository --region us-west-2"
1129
- )
1130
- )
1125
+ assert codeartifact_command == \
1126
+ "aws codeartifact login --tool pip --domain test-domain --domain-owner 012345678901 --repository test-repository --region us-west-2" # noqa: E501
1131
1127
1132
1128
1133
1129
@patch ("sagemaker.workflow.utilities._pipeline_config" , MOCKED_PIPELINE_CONFIG )
You can’t perform that action at this time.
0 commit comments