diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-12-01 13:08:55 +0000 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2011-12-01 13:08:55 +0000 |
commit | 71aa6dc4b72374aa84b4c1bb4067a2b7841e4322 (patch) | |
tree | 25ac7867efd4706108cb683111753529163eeeb3 /morphlib/morphology_tests.py | |
parent | 6136d3edd1129f5f6b517d83eb74866459b9c22f (diff) | |
download | morph-71aa6dc4b72374aa84b4c1bb4067a2b7841e4322.tar.gz |
make --git-base-url add a slash to the end, if missing
Diffstat (limited to 'morphlib/morphology_tests.py')
-rw-r--r-- | morphlib/morphology_tests.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/morphlib/morphology_tests.py b/morphlib/morphology_tests.py index d1e052a8..9a8517e1 100644 --- a/morphlib/morphology_tests.py +++ b/morphlib/morphology_tests.py @@ -106,12 +106,17 @@ class MorphologyTests(unittest.TestCase): "ref": "ref" } ] - }''')) + }'''), + baseurl='git://example.com') self.assertEqual(morph.kind, 'stratum') self.assertEqual(morph.filename, 'mockfile') self.assertEqual(morph.sources, [ - { 'name': 'foo', 'repo': 'foo/', 'ref': 'ref' }, + { + u'name': u'foo', + u'repo': u'git://example.com/foo/', + u'ref': u'ref' + }, ]) def test_accepts_valid_system_morphology(self): |