Skip to content

Commit

Permalink
Fix extension tests (#124)
Browse files Browse the repository at this point in the history
* Fix extension tests

- Fix aem test

* Fix DNS tests after API version change

* Fix rdbms test
  • Loading branch information
derekbekoe authored Apr 3, 2018
1 parent 6712ce6 commit 9a3297f
Show file tree
Hide file tree
Showing 5 changed files with 1,207 additions and 835 deletions.
2 changes: 1 addition & 1 deletion scripts/ci/test_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ echo "Installing azure-cli-testsdk and azure-cli..."

# Update the git commit or branch when we need a new version of azure-cli-testsdk
pip install "git+https://github.com/Azure/azure-cli@dev#egg=azure-cli-testsdk&subdirectory=src/azure-cli-testsdk" -q
pip install knack==0.3.1 -q
pip install knack==0.3.2 -q
echo "Installed."

python ./scripts/ci/test_source.py -v
Expand Down
2 changes: 1 addition & 1 deletion src/aem/azext_aem/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def enable(self):
operation_group='virtual_machine_extensions')
existing_ext = self._get_aem_extension()
extension_instance_name = existing_ext.name if existing_ext else self._extension['name']
existing_ext = VirtualMachineExtension(self._vm.location,
existing_ext = VirtualMachineExtension(location=self._vm.location,
publisher=self._extension['publisher'],
virtual_machine_extension_type=self._extension['name'],
protected_settings={
Expand Down
Loading

0 comments on commit 9a3297f

Please sign in to comment.