diff options
author | Andrei Zeliankou <zelenkov@nginx.com> | 2020-10-07 23:18:43 +0100 |
---|---|---|
committer | Andrei Zeliankou <zelenkov@nginx.com> | 2020-10-07 23:18:43 +0100 |
commit | 6ec0ff35964c7805712d978625949f72ff5a63bc (patch) | |
tree | f64a1901993fbc7e6a75ca6335fbbd291c8cce56 /test/test_configuration.py | |
parent | 645683f432d742f42f2769f589fe769585fb7aa0 (diff) | |
download | unit-6ec0ff35964c7805712d978625949f72ff5a63bc.tar.gz unit-6ec0ff35964c7805712d978625949f72ff5a63bc.tar.bz2 |
Tests: minor fixes.
Diffstat (limited to 'test/test_configuration.py')
-rw-r--r-- | test/test_configuration.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_configuration.py b/test/test_configuration.py index 07b8d522..d1e6f000 100644 --- a/test/test_configuration.py +++ b/test/test_configuration.py @@ -1,7 +1,7 @@ import pytest -from unit.control import TestControl from conftest import skip_alert +from unit.control import TestControl class TestConfiguration(TestControl): @@ -15,7 +15,7 @@ class TestConfiguration(TestControl): def test_json_unicode(self): assert 'success' in self.conf( - b""" + u""" { "ap\u0070": { "type": "\u0070ython", @@ -53,8 +53,8 @@ class TestConfiguration(TestControl): assert 'приложение' in self.conf_get('applications'), 'unicode 2 get' def test_json_unicode_number(self): - assert 'error' in self.conf( - b""" + assert 'success' in self.conf( + u""" { "app": { "type": "python", |