# HG changeset patch # User Augie Fackler # Date 1223044885 18000 # Node ID 79b0e059319dddb43f567d4edcdb0fb47aeecc0a # Parent 1a5bb173170b266dd01c15d7e8c285b9856c0664 Reorganized the testing infrastructure a bit so that svnwrap is really separate from the rest of the project. Also made it easier to add more tests in the future without making the directory full of annoying files. diff --git a/svnwrap/tests/__init__.py b/svnwrap/tests/__init__.py new file mode 100644 --- /dev/null +++ b/svnwrap/tests/__init__.py @@ -0,0 +1,3 @@ +import sys +import os +sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) diff --git a/test_svnwrap.py b/svnwrap/tests/test_svnwrap.py rename from test_svnwrap.py rename to svnwrap/tests/test_svnwrap.py diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,3 @@ +import sys +import os +sys.path.append(os.path.dirname(os.path.dirname(__file__))) diff --git a/test_fetch_command.py b/tests/test_fetch_command.py rename from test_fetch_command.py rename to tests/test_fetch_command.py