adding ec2 stubs
This commit is contained in:
parent
0df2864f99
commit
27a086409e
59 changed files with 861 additions and 9 deletions
9
tests/test_ec2/test_amazon_dev_pay.py
Normal file
9
tests/test_ec2/test_amazon_dev_pay.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_amazon_dev_pay():
|
||||
pass
|
||||
9
tests/test_ec2/test_amis.py
Normal file
9
tests/test_ec2/test_amis.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_amis():
|
||||
pass
|
||||
9
tests/test_ec2/test_availability_zonesand_regions.py
Normal file
9
tests/test_ec2/test_availability_zonesand_regions.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_availability_zonesand_regions():
|
||||
pass
|
||||
9
tests/test_ec2/test_customer_gateways.py
Normal file
9
tests/test_ec2/test_customer_gateways.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_customer_gateways():
|
||||
pass
|
||||
9
tests/test_ec2/test_dhcp_options.py
Normal file
9
tests/test_ec2/test_dhcp_options.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_dhcp_options():
|
||||
pass
|
||||
9
tests/test_ec2/test_elastic_block_store.py
Normal file
9
tests/test_ec2/test_elastic_block_store.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_elastic_block_store():
|
||||
pass
|
||||
9
tests/test_ec2/test_elastic_ip_addresses.py
Normal file
9
tests/test_ec2/test_elastic_ip_addresses.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_elastic_ip_addresses():
|
||||
pass
|
||||
9
tests/test_ec2/test_elastic_network_interfaces.py
Normal file
9
tests/test_ec2/test_elastic_network_interfaces.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_elastic_network_interfaces():
|
||||
pass
|
||||
9
tests/test_ec2/test_general.py
Normal file
9
tests/test_ec2/test_general.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_general():
|
||||
pass
|
||||
|
|
@ -5,7 +5,6 @@ from sure import expect
|
|||
from moto import mock_ec2
|
||||
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_instance_launch_and_terminate():
|
||||
conn = boto.connect_ec2('the_key', 'the_secret')
|
||||
|
|
|
|||
9
tests/test_ec2/test_internet_gateways.py
Normal file
9
tests/test_ec2/test_internet_gateways.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_internet_gateways():
|
||||
pass
|
||||
9
tests/test_ec2/test_ip_addresses.py
Normal file
9
tests/test_ec2/test_ip_addresses.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_ip_addresses():
|
||||
pass
|
||||
9
tests/test_ec2/test_key_pairs.py
Normal file
9
tests/test_ec2/test_key_pairs.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_key_pairs():
|
||||
pass
|
||||
9
tests/test_ec2/test_monitoring.py
Normal file
9
tests/test_ec2/test_monitoring.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_monitoring():
|
||||
pass
|
||||
9
tests/test_ec2/test_network_acls.py
Normal file
9
tests/test_ec2/test_network_acls.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_network_acls():
|
||||
pass
|
||||
9
tests/test_ec2/test_placement_groups.py
Normal file
9
tests/test_ec2/test_placement_groups.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_placement_groups():
|
||||
pass
|
||||
9
tests/test_ec2/test_reserved_instances.py
Normal file
9
tests/test_ec2/test_reserved_instances.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_reserved_instances():
|
||||
pass
|
||||
9
tests/test_ec2/test_route_tables.py
Normal file
9
tests/test_ec2/test_route_tables.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_route_tables():
|
||||
pass
|
||||
9
tests/test_ec2/test_security_groups.py
Normal file
9
tests/test_ec2/test_security_groups.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_security_groups():
|
||||
pass
|
||||
9
tests/test_ec2/test_spot_instances.py
Normal file
9
tests/test_ec2/test_spot_instances.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_spot_instances():
|
||||
pass
|
||||
9
tests/test_ec2/test_subnets.py
Normal file
9
tests/test_ec2/test_subnets.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_subnets():
|
||||
pass
|
||||
|
|
@ -1,11 +1,9 @@
|
|||
import boto
|
||||
from boto.ec2.instance import Reservation, InstanceAttribute
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_instance_launch_and_terminate():
|
||||
conn = boto.connect_ec2('the_key', 'the_secret')
|
||||
|
|
|
|||
9
tests/test_ec2/test_virtual_private_gateways.py
Normal file
9
tests/test_ec2/test_virtual_private_gateways.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_virtual_private_gateways():
|
||||
pass
|
||||
9
tests/test_ec2/test_vm_export.py
Normal file
9
tests/test_ec2/test_vm_export.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_vm_export():
|
||||
pass
|
||||
9
tests/test_ec2/test_vm_import.py
Normal file
9
tests/test_ec2/test_vm_import.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_vm_import():
|
||||
pass
|
||||
9
tests/test_ec2/test_vpcs.py
Normal file
9
tests/test_ec2/test_vpcs.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_vpcs():
|
||||
pass
|
||||
9
tests/test_ec2/test_vpn_connections.py
Normal file
9
tests/test_ec2/test_vpn_connections.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_vpn_connections():
|
||||
pass
|
||||
9
tests/test_ec2/test_windows.py
Normal file
9
tests/test_ec2/test_windows.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import boto
|
||||
from sure import expect
|
||||
|
||||
from moto import mock_ec2
|
||||
|
||||
|
||||
@mock_ec2
|
||||
def test_windows():
|
||||
pass
|
||||
Loading…
Add table
Add a link
Reference in a new issue