summaryrefslogtreecommitdiffhomepage
path: root/test/test_ruby_application.py
diff options
context:
space:
mode:
authorAndrei Zeliankou <zelenkov@nginx.com>2022-04-11 21:05:14 +0100
committerAndrei Zeliankou <zelenkov@nginx.com>2022-04-11 21:05:14 +0100
commit0f725346603f4de4473d12da502104b188ac02a4 (patch)
tree7f8254a816965d49c4d6d98da34f00c81894f7e8 /test/test_ruby_application.py
parentaeed86c6829c62359e79f239b849766efb8857a7 (diff)
downloadunit-0f725346603f4de4473d12da502104b188ac02a4.tar.gz
unit-0f725346603f4de4473d12da502104b188ac02a4.tar.bz2
Tests: style.
Diffstat (limited to '')
-rw-r--r--test/test_ruby_application.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/test_ruby_application.py b/test/test_ruby_application.py
index ed0200d9..319dfb4f 100644
--- a/test/test_ruby_application.py
+++ b/test/test_ruby_application.py
@@ -175,8 +175,7 @@ class TestRubyApplication(TestApplicationRuby):
self.get()
assert (
- self.wait_for_record(r'\[error\].+Error in application')
- is not None
+ self.wait_for_record(r'\[error\].+Error in application') is not None
), 'errors puts'
def test_ruby_application_errors_puts_int(self):
@@ -194,8 +193,7 @@ class TestRubyApplication(TestApplicationRuby):
self.get()
assert (
- self.wait_for_record(r'\[error\].+Error in application')
- is not None
+ self.wait_for_record(r'\[error\].+Error in application') is not None
), 'errors write'
def test_ruby_application_errors_write_to_s_custom(self):
@@ -229,7 +227,8 @@ class TestRubyApplication(TestApplicationRuby):
try:
locales = (
subprocess.check_output(
- ['locale', '-a'], stderr=subprocess.STDOUT,
+ ['locale', '-a'],
+ stderr=subprocess.STDOUT,
)
.decode()
.split('\n')