Move everything under the kong/ namespace.

This commit is contained in:
Soren Hansen 2011-09-08 13:03:42 +02:00
parent 826d5df338
commit ec3f709020
8 changed files with 8 additions and 7 deletions

0
kong/__init__.py Normal file
View File

View File

@ -21,7 +21,7 @@ set information of hosts etc..
"""
import os
import tests
from kong import tests
class TestSkipExamples(tests.FunctionalTest):

View File

@ -17,7 +17,7 @@
"""Functional test case to check RabbitMQ """
import pika
import tests
from kong import tests
from pprint import pprint
#RABBITMQ_HOST = get_config("rabbitmq/host")

View File

@ -22,7 +22,7 @@ import os
from pprint import pprint
import tests
from kong import tests
SMALL_OBJ = "include/swift_objects/swift_small"
MED_OBJ = "include/swift_objects/swift_medium"

View File

@ -21,7 +21,7 @@ import json
import os
from pprint import pprint
import tests
from kong import tests
class TestGlanceAPI(tests.FunctionalTest):

View File

@ -24,7 +24,7 @@ import time
from pprint import pprint
import tests
from kong import tests
class TestNovaAPI(tests.FunctionalTest):

View File

@ -21,7 +21,7 @@ import httplib2
from pprint import pprint
import tests
from kong import tests
class TestCleanUp(tests.FunctionalTest):

View File

@ -145,7 +145,8 @@ class FunctionalTest(unittest2.TestCase):
def _parse_defaults_file(self):
cfg = os.path.abspath(os.path.join(os.path.dirname(__file__),
"..", "etc", "config.ini"))
os.path.pardir, os.path.pardir,
"etc", "config.ini"))
if os.path.exists(cfg):
self._build_config(cfg)
else: