Commit 56be1ecf by Sébastien Eustace

Fix tests by mocking terminal width

parent 18e9bb9a
from cleo.testers import CommandTester
from tests.helpers import get_dependency
from tests.helpers import get_package
......
import os
import pytest
import shutil
......@@ -60,6 +61,9 @@ def setup(mocker, installer, installed):
p = mocker.patch('poetry.vcs.git.Git.rev_parse')
p.return_value = '9cf87a285a2d3fbb0b9fa621997b3acc3631ed24'
# Setting terminal width
os.environ['COLUMNS'] = 80
class Application(BaseApplication):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment