diff tests/test_fetch_mappings.py @ 1429:3a723188051e

AuthorMap: make local implementation concerns stop using self.meta This is part of a series of changes which will let us stop passing meta into the map layer.
author Augie Fackler <raf@durin42.com>
date Sun, 05 Jun 2016 20:26:17 -0400
parents 94eb844fd4ab
children a0ba38def79b
line wrap: on
line diff
--- a/tests/test_fetch_mappings.py
+++ b/tests/test_fetch_mappings.py
@@ -92,7 +92,9 @@ class MapTests(test_util.TestBase):
         new = open(os.path.join(repopath, 'authors'), 'w')
         new.write(open(orig).read())
         new.close()
-        test = maps.AuthorMap(self.repo.svnmeta(skiperrorcheck=True))
+        meta = self.repo.svnmeta(skiperrorcheck=True)
+        test = maps.AuthorMap(meta, meta.defaulthost, meta.caseignoreauthors,
+                              meta.mapauthorscmd, meta.defaultauthors)
         fromself = set(test)
         test.load(orig)
         all_tests = set(test)