We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on windows it seems execute returns some invalid characters in output and thus failing on getting port from output (and maybe somewhere else).
I've managed to patch this like this:
` from lovely.pytest.docker import compose
def strip_invalid_characters_from_output(func): def wrapper(*args, **kwargs): output = func(*args, **kwargs) return output[:output.rfind('\n') + 1]
return wrapper
compose.execute = strip_invalid_characters_from_output(compose.execute) `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Running on windows it seems execute returns some invalid characters in output and thus failing on getting port from output (and maybe somewhere else).
I've managed to patch this like this:
`
from lovely.pytest.docker import compose
def strip_invalid_characters_from_output(func):
def wrapper(*args, **kwargs):
output = func(*args, **kwargs)
return output[:output.rfind('\n') + 1]
compose.execute = strip_invalid_characters_from_output(compose.execute)
`
The text was updated successfully, but these errors were encountered: