jenkins-bot has submitted this change and it was merged.
Change subject: Move data_ingestion test into tests/ ......................................................................
Move data_ingestion test into tests/
Change-Id: I661f4d13c6f22471110355db7e7be45e3ad36c95 --- D scripts/tests/test_utils.py R tests/data/MP_sounds.png R tests/data/csv_ingestion.csv R tests/data_ingestion_tests.py 4 files changed, 1 insertion(+), 13 deletions(-)
Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
diff --git a/scripts/tests/test_utils.py b/scripts/tests/test_utils.py deleted file mode 100644 index 7895f03..0000000 --- a/scripts/tests/test_utils.py +++ /dev/null @@ -1,12 +0,0 @@ -""" -Support module for PyWikipediaBot regression tests. -""" -__version__ = '$Id$' - -import sys - -# Add current directory and parent directory to module search path. -sys.path.insert(0, '..') -sys.path.insert(0, '.') - -del sys diff --git a/scripts/tests/data/MP_sounds.png b/tests/data/MP_sounds.png similarity index 100% rename from scripts/tests/data/MP_sounds.png rename to tests/data/MP_sounds.png Binary files differ diff --git a/scripts/tests/data/csv_ingestion.csv b/tests/data/csv_ingestion.csv similarity index 100% rename from scripts/tests/data/csv_ingestion.csv rename to tests/data/csv_ingestion.csv diff --git a/scripts/tests/test_data_ingestion.py b/tests/data_ingestion_tests.py similarity index 98% rename from scripts/tests/test_data_ingestion.py rename to tests/data_ingestion_tests.py index c34033d..8a877e3 100644 --- a/scripts/tests/test_data_ingestion.py +++ b/tests/data_ingestion_tests.py @@ -5,7 +5,7 @@ __version__ = '$Id$'
import os -import unittest +from tests import unittest from scripts import data_ingestion
pywikibot-commits@lists.wikimedia.org