Skip to content

Commit

Permalink
test_boards_iterations fixed (#1203)
Browse files Browse the repository at this point in the history
* Fixed

* Fixed

* Cache cleared

* Fixed

* Cache cleared

* Refreshed recording
  • Loading branch information
roshan-sy authored Sep 9, 2021
1 parent bf5c9d8 commit 97dc4fe
Show file tree
Hide file tree
Showing 2 changed files with 953 additions and 841 deletions.
1,788 changes: 949 additions & 839 deletions tests/recordings/test_boards_iterations.yaml

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions tests/test_boardsIterationTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
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)
Expand Down Expand Up @@ -130,6 +130,8 @@ def test_boards_iterations(self):
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
Expand Down Expand Up @@ -161,4 +163,4 @@ def test_boards_iterations(self):
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)

0 comments on commit 97dc4fe

Please sign in to comment.