Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
7d9ae38
Since resource names can be programmatically constructed, add scrubbe…
KieranBrantnerMagee Jun 8, 2020
ce93e76
Merge remote-tracking branch 'upstream/master' into kibrantn/misc/fix…
KieranBrantnerMagee Jun 9, 2020
63179c3
In CI (but not locally) self.test_class_instance was not set before _…
KieranBrantnerMagee Jun 9, 2020
5b97cae
Merge remote-tracking branch 'upstream/master' into kibrantn/misc/fix…
KieranBrantnerMagee Jun 25, 2020
3d31d36
Merge SB management client to central repo dev branch (#12205)
YijunXieMS Jun 25, 2020
f5cd8f6
resource_moniker isn't guaranteed to be populated, so use moniker ins…
KieranBrantnerMagee Jun 26, 2020
ff84d1c
Update validation and type hints
YijunXieMS Jun 27, 2020
69ba610
Update models from swagger
YijunXieMS Jun 27, 2020
ba58755
Fix pylint
YijunXieMS Jun 29, 2020
3c4df52
Fix update_subscription
YijunXieMS Jun 29, 2020
000cf04
Fix mypy errors
YijunXieMS Jun 29, 2020
944b86a
Remove start_index and max_page_size of list operations
YijunXieMS Jun 30, 2020
c75c34a
add test and fix minor bugs
yunhaoling Jun 30, 2020
4cedf5b
Merge branch 'servicebus_mgmt_client' of https://github.com/Azure/azu…
yunhaoling Jun 30, 2020
3a0be8b
fix pylint
yunhaoling Jun 30, 2020
7e8e863
Merge remote-tracking branch 'kieran/kibrantn/misc/fix-cached-prepare…
yunhaoling Jun 30, 2020
efa82aa
skip test of list with param and update recordings
yunhaoling Jun 30, 2020
8755448
Update msrest dependency to 0.6.17
YijunXieMS Jun 30, 2020
ce77f03
Fix code review feedback
YijunXieMS Jul 1, 2020
f4aa572
Fix pylint and mypy error
YijunXieMS Jul 1, 2020
1516c00
Small fix type annotation
YijunXieMS Jul 1, 2020
0effa08
Do not call copy() in update_xxx
YijunXieMS Jul 1, 2020
f487487
Update ivar
YijunXieMS Jul 1, 2020
6e11494
Link to swagger file in repo
YijunXieMS Jul 1, 2020
9914b0f
clear queue/topic before the actual test
yunhaoling Jul 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ def _preparer_wrapper(test_class_instance, **kwargs):
_logger.debug("Storing cached resource for %s", self.__class__.__name__)
AbstractPreparer._resource_cache[aggregate_cache_key] = AbstractPreparer.ResourceCacheEntry(resource_name, kwargs, self)

if test_class_instance.is_live:
test_class_instance.scrubber.register_name_pair(
resource_name,
self.moniker
)

# We shouldn't trim the same kwargs that we use for deletion,
# we may remove some of the variables we needed to do the delete.
trimmed_kwargs = {k:v for k,v in kwargs.items()}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
SUBSCRIPTION_ID = "00000000-0000-0000-0000-000000000000"

# Keyvault tests
# Note: Keyvault tests require EnvironmentCredential variables to be populated as well. (AZURE_CLIENT_ID etc)
TENANT_ID = '00000000-0000-0000-0000-000000000000'
# Note: Not the OID from the azure portal. Use 'az ad sp show --id <id> | grep objectId'
CLIENT_OID = '00000000-0000-0000-0000-000000000000'
# Cognitive Services tests
CS_SUBSCRIPTION_KEY = '0000000000000000000000000000'
# Event Grid key
Expand Down