mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use ami variable instead in test
This commit is contained in:
parent
dc1ae52266
commit
a3a39f3d68
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ class EC2TestCase(TestCase, LoaderModuleMockMixin):
|
|||
self.assertEqual(ec2.get_imageid(vm), ami)
|
||||
|
||||
# test ami-image
|
||||
config.return_value = 'ami-1234'
|
||||
config.return_value = ami
|
||||
self.assertEqual(ec2.get_imageid(vm), ami)
|
||||
|
||||
# we should have only ran aws.query once when testing the aws filter
|
||||
|
|
Loading…
Add table
Reference in a new issue