mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 20:22:46 +00:00
avoid TB in gitannex builder test on python3
Avoids... Traceback (most recent call last): File "/home/sandbox/test/functional/build_gitannex_tests.py", line 87, in test_simple_build self.assertEquals(1, len(builder.sources)) nose.proxy.TypeError: TypeError: object of type 'map' has no len()
This commit is contained in:
parent
886df517fa
commit
bc0abf1beb
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class GitAnnexBuilderTests(TitoGitTestFixture):
|
|||
builder = GitAnnexBuilder(PKG_NAME, None, self.output_dir,
|
||||
self.config, {}, {}, **{'offline': True})
|
||||
builder.rpm()
|
||||
self.assertEquals(1, len(builder.sources))
|
||||
self.assertEquals(1, len(list(builder.sources)))
|
||||
|
||||
self.assertEquals(2, len(builder.artifacts))
|
||||
self.assertEquals(1, len(glob.glob(join(self.output_dir,
|
||||
|
|
Loading…
Add table
Reference in a new issue