Port to Python 3
This should make all tests pass on both Python 2 and Python 3. Unittest2 is required on Py 2.6 and Py 3. Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
3088df8e60
commit
ed22e07ef9
50 changed files with 203 additions and 208 deletions
|
|
@ -2,7 +2,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
|
||||
import unittest
|
||||
import mock
|
||||
|
||||
import os
|
||||
|
|
@ -360,6 +359,3 @@ class OstreeInstallerScriptTest(helpers.PungiTestCase):
|
|||
'--add-arch-template-var=ostree_repo=http://www.example.com/ostree',
|
||||
'--rootfs-size=None',
|
||||
self.output])])
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue