test_boards_iterations fixed (#1203)
* Fixed * Fixed * Cache cleared * Fixed * Cache cleared * Refreshed recording
This commit is contained in:
Родитель
bf5c9d84c2
Коммит
97dc4fe065
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -9,7 +9,7 @@ from knack.util import CLIError
|
|||
from azure_devtools.scenario_tests import AllowLargeResponse
|
||||
from .utilities.helper import DevopsScenarioTest, disable_telemetry, set_authentication, get_test_org_from_env_variable
|
||||
|
||||
DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'Https://dev.azure.com/azuredevopsclitest'
|
||||
DEVOPS_CLI_TEST_ORGANIZATION = get_test_org_from_env_variable() or 'Https://dev.azure.com/devops-cli-test-org'
|
||||
|
||||
class BoardsIterationsTest(DevopsScenarioTest):
|
||||
@AllowLargeResponse(size_kb=3072)
|
||||
|
@ -130,6 +130,8 @@ class BoardsIterationsTest(DevopsScenarioTest):
|
|||
assert default_team_iteration_set['defaultIteration']['id'] == root_project_iteration_identifier
|
||||
assert default_team_iteration_set['defaultIteration']['name'] == root_iteration_name
|
||||
|
||||
self.sleep_in_live_run(30)
|
||||
|
||||
default_team_iteration_show_cmd = 'az boards iteration team show-default-iteration --team ' + team_name + ' --project ' + random_project_name + ' --output json --detect false'
|
||||
default_team_iteration_show = self.cmd(default_team_iteration_show_cmd).get_output_in_json()
|
||||
assert default_team_iteration_show['defaultIteration']['id'] == root_project_iteration_identifier
|
||||
|
@ -161,4 +163,4 @@ class BoardsIterationsTest(DevopsScenarioTest):
|
|||
finally:
|
||||
if created_project_id is not None:
|
||||
delete_project_command = 'az devops project delete --id ' + created_project_id + ' --output json --detect false -y'
|
||||
self.cmd(delete_project_command)
|
||||
self.cmd(delete_project_command)
|
||||
|
|
Загрузка…
Ссылка в новой задаче