Tests: style.

This commit is contained in:
Andrei Zeliankou
2022-04-11 21:05:14 +01:00
parent aeed86c682
commit 0f72534660
36 changed files with 285 additions and 337 deletions

View File

@@ -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')