From 3c4362e709329f698b40c21da4ac6b71ece5eaac Mon Sep 17 00:00:00 2001 From: Jaisen Mathai Date: Thu, 10 Dec 2015 23:24:12 -0800 Subject: [PATCH] gh-22 Add __init__.py files so nosetests -w recursively runs tests --- .travis.yml | 2 +- elodie/tests/__init__.py | 0 elodie/tests/{filesystem.py => filesystem_test.py} | 0 elodie/tests/media/__init__.py | 0 elodie/tests/media/{media.py => media_test.py} | 0 elodie/tests/media/{photo.py => photo_test.py} | 0 6 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 elodie/tests/__init__.py rename elodie/tests/{filesystem.py => filesystem_test.py} (100%) create mode 100644 elodie/tests/media/__init__.py rename elodie/tests/media/{media.py => media_test.py} (100%) rename elodie/tests/media/{photo.py => photo_test.py} (100%) diff --git a/.travis.yml b/.travis.yml index 38e80eb..7c3d554 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,4 +13,4 @@ install: before_script: - "mkdir ~/.elodie" - "sed 's/your-api-key-goes-here/x8wQLqGhW7qK3sFpjYtVTogVtoMK0S8s/g' config.ini-sample > ~/.elodie/config.ini" -script: "nosetests elodie/tests/*.py" +script: "nosetests -w elodie/tests" diff --git a/elodie/tests/__init__.py b/elodie/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/elodie/tests/filesystem.py b/elodie/tests/filesystem_test.py similarity index 100% rename from elodie/tests/filesystem.py rename to elodie/tests/filesystem_test.py diff --git a/elodie/tests/media/__init__.py b/elodie/tests/media/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/elodie/tests/media/media.py b/elodie/tests/media/media_test.py similarity index 100% rename from elodie/tests/media/media.py rename to elodie/tests/media/media_test.py diff --git a/elodie/tests/media/photo.py b/elodie/tests/media/photo_test.py similarity index 100% rename from elodie/tests/media/photo.py rename to elodie/tests/media/photo_test.py