From cb8a079a2a1b4e739820ab510c4ec6b3e5c0499e Mon Sep 17 00:00:00 2001 From: Caleb Evans Date: Sat, 11 Jul 2015 20:13:06 -0700 Subject: [PATCH] Add __init__ to test dirs; use absolute imports --- tests/__init__.py | 0 tests/fixtures/__init__.py | 0 tests/test_local.py | 2 +- tests/test_remote.py | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 tests/__init__.py create mode 100644 tests/fixtures/__init__.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/fixtures/__init__.py b/tests/fixtures/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/tests/test_local.py b/tests/test_local.py index 56bee5b..8925f36 100644 --- a/tests/test_local.py +++ b/tests/test_local.py @@ -7,7 +7,7 @@ import nose.tools as nose import swb.local as swb from mock import ANY, mock_open, patch -from fixtures.local import set_up, tear_down, mock_backups +from tests.fixtures.local import set_up, tear_down, mock_backups CONFIG_PATH = 'tests/files/config.ini' diff --git a/tests/test_remote.py b/tests/test_remote.py index bcdd67d..18a914d 100644 --- a/tests/test_remote.py +++ b/tests/test_remote.py @@ -7,7 +7,7 @@ import nose.tools as nose import swb.remote as swb from mock import ANY, mock_open, patch -from fixtures.remote import set_up, tear_down +from tests.fixtures.remote import set_up, tear_down WP_PATH = '~/mysite'