Skip to content

Commit c2b7dff

Browse files
committed
fix tests
1 parent 1ce4ba4 commit c2b7dff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/alb/azext_alb/tests/latest/test_alb_commands.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
TEST_DIR = os.path.abspath(os.path.join(os.path.abspath(__file__), '..'))
2222

2323
class AlbScenario(ScenarioTest):
24+
@ResourceGroupPreparer(name_prefix='cli_record_test_tc_000999990', location="eastus2euap")
2425
def test_alb_resources(self):
2526
self.kwargs.update({
2627
'rg': 'cli_record_test_tc_000999990',
@@ -32,10 +33,6 @@ def test_alb_resources(self):
3233
'waf_policy': 'waf_policy1',
3334
'sp_waf': 'sp_waf1',
3435
})
35-
36-
#Works with subscription 668f1741-ef48-4132-bf98-28b3a3d3f257
37-
# Create Resource group.
38-
self.cmd('group create -n {rg} --location eastus2euap')
3936

4037
# Create Traffic Controller
4138
tcCount1 = len(self.cmd('network alb list -g {rg}').get_output_in_json())

0 commit comments

Comments
 (0)