From 8c451394d5e46b82d731333207f3c27769d7af49 Mon Sep 17 00:00:00 2001 From: Ivan Remizov Date: Sat, 14 Jul 2018 20:38:28 +0300 Subject: [PATCH] Move common tests into common folder Currently all tests in galaxy are located inside app folder. And only common tests are exceptional. This patch moves tests/unit files into common/tests to have consistent test locations and easier searching. Signed-off-by: Ivan Remizov --- galaxy/{ => common}/tests/__init__.py | 0 .../{tests/unit => common/tests}/test_schema.py | 0 .../{tests/unit => common/tests}/test_version.py | 0 galaxy/tests/unit/__init__.py | 16 ---------------- 4 files changed, 16 deletions(-) rename galaxy/{ => common}/tests/__init__.py (100%) rename galaxy/{tests/unit => common/tests}/test_schema.py (100%) rename galaxy/{tests/unit => common/tests}/test_version.py (100%) delete mode 100644 galaxy/tests/unit/__init__.py diff --git a/galaxy/tests/__init__.py b/galaxy/common/tests/__init__.py similarity index 100% rename from galaxy/tests/__init__.py rename to galaxy/common/tests/__init__.py diff --git a/galaxy/tests/unit/test_schema.py b/galaxy/common/tests/test_schema.py similarity index 100% rename from galaxy/tests/unit/test_schema.py rename to galaxy/common/tests/test_schema.py diff --git a/galaxy/tests/unit/test_version.py b/galaxy/common/tests/test_version.py similarity index 100% rename from galaxy/tests/unit/test_version.py rename to galaxy/common/tests/test_version.py diff --git a/galaxy/tests/unit/__init__.py b/galaxy/tests/unit/__init__.py deleted file mode 100644 index 0bae3a99d..000000000 --- a/galaxy/tests/unit/__init__.py +++ /dev/null @@ -1,16 +0,0 @@ -# (c) 2012-2017, Ansible by Red Hat -# -# This file is part of Ansible Galaxy -# -# Ansible Galaxy is free software: you can redistribute it and/or modify -# it under the terms of the Apache License as published by -# the Apache Software Foundation, either version 2 of the License, or -# (at your option) any later version. -# -# Ansible Galaxy is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# Apache License for more details. -# -# You should have received a copy of the Apache License -# along with Galaxy. If not, see .