changeset 7:79b0e059319d

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.
author Augie Fackler <durin42@gmail.com>
date Fri, 03 Oct 2008 09:41:25 -0500
parents 1a5bb173170b
children c89f53103502
files svnwrap/tests/__init__.py svnwrap/tests/test_svnwrap.py test_fetch_command.py test_svnwrap.py tests/__init__.py tests/test_fetch_command.py
diffstat 4 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
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__))))
rename from test_svnwrap.py
rename to svnwrap/tests/test_svnwrap.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__)))
rename from test_fetch_command.py
rename to tests/test_fetch_command.py