Merge "Py3: Port test/unit/test_ringcomposer.py"
This commit is contained in:
commit
17e2a0c456
@ -65,7 +65,7 @@ class TestCommands(unittest.TestCase):
|
||||
for cmd in cmds:
|
||||
try:
|
||||
with open(self.composite_builder_file, 'wb') as fd:
|
||||
fd.write('not json')
|
||||
fd.write(b'not json')
|
||||
exit_code, stdout, stderr = self._run_composer(cmd)
|
||||
self.assertEqual(2, exit_code)
|
||||
self.assertIn('An error occurred while loading the composite '
|
||||
|
1
tox.ini
1
tox.ini
@ -41,6 +41,7 @@ commands =
|
||||
test/unit/cli/test_relinker.py \
|
||||
test/unit/cli/test_ring_builder_analyzer.py \
|
||||
test/unit/cli/test_ringbuilder.py \
|
||||
test/unit/cli/test_ringcomposer.py \
|
||||
test/unit/common/middleware/crypto \
|
||||
test/unit/common/middleware/test_catch_errors.py \
|
||||
test/unit/common/middleware/test_crossdomain.py \
|
||||
|
Loading…
Reference in New Issue
Block a user