Amended test_ami_create_and_delete to include test for existence of creation date
This commit is contained in:
parent
27495e01e5
commit
43ff874b68
1
tests/test_ec2/test_amis.py
Normal file → Executable file
1
tests/test_ec2/test_amis.py
Normal file → Executable file
@ -28,6 +28,7 @@ def test_ami_create_and_delete():
|
|||||||
image.architecture.should.equal(instance.architecture)
|
image.architecture.should.equal(instance.architecture)
|
||||||
image.kernel_id.should.equal(instance.kernel)
|
image.kernel_id.should.equal(instance.kernel)
|
||||||
image.platform.should.equal(instance.platform)
|
image.platform.should.equal(instance.platform)
|
||||||
|
image.creationDate.should_not.be.none
|
||||||
instance.terminate()
|
instance.terminate()
|
||||||
|
|
||||||
# Validate auto-created volume and snapshot
|
# Validate auto-created volume and snapshot
|
||||||
|
Loading…
x
Reference in New Issue
Block a user