Fix structure of unit tests in oslo.messaging (part 1)

Even in case of libraries and when they are not big like nova.
It is better to use next rules:

1) structure of tests directory is the same as a root of project
Tests directory will be well organized, and it will be simple to find
where to write tests

2) names for end modules should be test_<name_of_testing_module>.py

Change-Id: Ie13d1b709e863f6a9babaaa2bf1e042ef9251671
This commit is contained in:
Boris Pavlovic 2014-06-25 12:15:04 +04:00
parent 68f8857f30
commit 3f9fc44bc6
6 changed files with 2 additions and 2 deletions

0
tests/notify/__init__.py Normal file
View File

View File

@ -15,7 +15,7 @@ import mock
from oslo import messaging
from oslo.messaging.notify import log_handler
from tests import test_notifier
from tests.notify import test_notifier
from tests import utils as test_utils

View File

@ -28,7 +28,7 @@ import testtools
from oslo import messaging
from oslo.messaging.openstack.common import timeutils
from tests import test_notifier
from tests.notify import test_notifier
from tests import utils as test_utils