coverage for py3 unit tests
This commit is contained in:
parent
5eea74aa71
commit
6092f9e2ae
2 changed files with 9 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ class TestListCommands(unittest.TestCase):
|
|||
if six.PY2:
|
||||
actual = actual.replace('nosetests', 'koji')
|
||||
else:
|
||||
actual = actual.replace('python3 -m nose', 'koji')
|
||||
actual = actual.replace('nosetests-3', 'koji')
|
||||
filename = os.path.dirname(__file__) + '/data/list-commands.txt'
|
||||
with open(filename, 'rb') as f:
|
||||
expected = f.read().decode('ascii')
|
||||
|
|
@ -47,7 +47,7 @@ class TestListCommands(unittest.TestCase):
|
|||
if six.PY2:
|
||||
actual = actual.replace('nosetests', 'koji')
|
||||
else:
|
||||
actual = actual.replace('python3 -m nose', 'koji')
|
||||
actual = actual.replace('nosetests-3', 'koji')
|
||||
filename = os.path.dirname(__file__) + '/data/list-commands-admin.txt'
|
||||
with open(filename, 'rb') as f:
|
||||
expected = f.read().decode('ascii')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue