Browse Source

Ed & Cameron | Move integration tests to separate directory

changes/85/139985/1
cameron-r 4 years ago
parent
commit
9826b0778c

+ 0
- 0
tests/integration/__init__.py View File


tests/ec2_test_base.py → tests/integration/ec2_test_base.py View File

@@ -7,8 +7,8 @@ import datetime
7 7
 from novaclient.v1_1 import client
8 8
 from boto import ec2
9 9
 
10
-from ..credentials import get_nova_creds
11
-from ..ec2driver_config import *
10
+from ...credentials import get_nova_creds
11
+from ...ec2driver_config import *
12 12
 
13 13
 
14 14
 class EC2TestBase(unittest.TestCase):

tests/test_ec2driver.py → tests/integration/test_ec2driver.py View File

@@ -1,10 +1,11 @@
1 1
 import unittest
2 2
 import urllib2
3
-from boto.exception import EC2ResponseError
4 3
 
4
+from boto.exception import EC2ResponseError
5 5
 from novaclient.v1_1 import client
6
-from ..ec2driver_config import *
7
-from ec2_test_base import EC2TestBase
6
+
7
+from ...ec2driver_config import *
8
+from tests.integration.ec2_test_base import EC2TestBase
8 9
 
9 10
 
10 11
 class TestEC2Driver(EC2TestBase):

tests/test_security_groups.py → tests/integration/test_security_groups.py View File

@@ -2,8 +2,9 @@ from time import sleep
2 2
 import unittest
3 3
 from random import randint
4 4
 
5
-from ..ec2driver_config import *
6
-from ec2_test_base import EC2TestBase
5
+from ...ec2driver_config import *
6
+from tests.integration.ec2_test_base import EC2TestBase
7
+
7 8
 
8 9
 class TestSecurityGroups(EC2TestBase):
9 10
 

Loading…
Cancel
Save