summaryrefslogtreecommitdiffhomepage
path: root/test/test_ruby_application.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/test_ruby_application.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/test_ruby_application.py b/test/test_ruby_application.py
index 17491619..ddd31f59 100644
--- a/test/test_ruby_application.py
+++ b/test/test_ruby_application.py
@@ -2,6 +2,7 @@ import re
import subprocess
import pytest
+
from unit.applications.lang.ruby import TestApplicationRuby
@@ -208,7 +209,6 @@ class TestRubyApplication(TestApplicationRuby):
self.get()
-
assert (
self.wait_for_record(r'\[error\].+1234567890') is not None
), 'errors write int'
@@ -228,9 +228,13 @@ class TestRubyApplication(TestApplicationRuby):
self.load('encoding')
try:
- locales = subprocess.check_output(
- ['locale', '-a'], stderr=subprocess.STDOUT,
- ).decode().split('\n')
+ locales = (
+ subprocess.check_output(
+ ['locale', '-a'], stderr=subprocess.STDOUT,
+ )
+ .decode()
+ .split('\n')
+ )
except (FileNotFoundError, subprocess.CalledProcessError):
pytest.skip('require locale')