summaryrefslogtreecommitdiff
path: root/without-test-modules
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-09 18:59:51 +0000
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-02-11 16:04:44 +0000
commit1178eb5991c8ea99f4efef29bcde1c3a0f363e4f (patch)
treeff64a14e384c5af667a49877d4c63dbfb3255993 /without-test-modules
parent623997cfef08e4e8d7fcf47806d6d81735299105 (diff)
downloadmorph-1178eb5991c8ea99f4efef29bcde1c3a0f363e4f.tar.gz
Rewrite tests for remoteartifactcache module
The old test suite was closely tied with the implementation of the module, which makes it very hard to rewrite any of the module. The new test suite actually sets up a remote HTTP server and exercises the real code paths. I added a new 'testutils' module, because there seem to be quite a few mock classes duplicated in different test modules. Better to collect them when they are really needed.
Diffstat (limited to 'without-test-modules')
-rw-r--r--without-test-modules3
1 files changed, 3 insertions, 0 deletions
diff --git a/without-test-modules b/without-test-modules
index 530deb4f..66f25371 100644
--- a/without-test-modules
+++ b/without-test-modules
@@ -56,3 +56,6 @@ morphlib/buildbranch.py
# Requires rather a lot of fake data in order to be unit tested; better to
# leave it to the functional tests.
morphlib/sourceresolver.py
+
+# These are part of the test suite
+morphlib/testutils.py