From 026cd1cfb9eb4b581c12031b95fc28581bd28a12 Mon Sep 17 00:00:00 2001 From: Boris Pavlovic Date: Wed, 25 Jun 2014 13:08:51 +0400 Subject: [PATCH] Fix structure of unit tests in oslo.messaging (part 3 last) 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_.py Change-Id: I75b4b3df4fffc8dfe389c547ae7a004d1b278ecc --- tests/drivers/__init__.py | 0 tests/{test_qpid.py => drivers/test_impl_qpid.py} | 0 tests/{test_rabbit.py => drivers/test_impl_rabbit.py} | 0 tests/{ => drivers}/test_pool.py | 0 4 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/drivers/__init__.py rename tests/{test_qpid.py => drivers/test_impl_qpid.py} (100%) rename tests/{test_rabbit.py => drivers/test_impl_rabbit.py} (100%) rename tests/{ => drivers}/test_pool.py (100%) diff --git a/tests/drivers/__init__.py b/tests/drivers/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/tests/test_qpid.py b/tests/drivers/test_impl_qpid.py similarity index 100% rename from tests/test_qpid.py rename to tests/drivers/test_impl_qpid.py diff --git a/tests/test_rabbit.py b/tests/drivers/test_impl_rabbit.py similarity index 100% rename from tests/test_rabbit.py rename to tests/drivers/test_impl_rabbit.py diff --git a/tests/test_pool.py b/tests/drivers/test_pool.py similarity index 100% rename from tests/test_pool.py rename to tests/drivers/test_pool.py