diff options
author | BonfaceKilz | 2020-09-23 02:23:02 +0300 |
---|---|---|
committer | BonfaceKilz | 2020-09-23 02:23:02 +0300 |
commit | fd151ade1d9f12157bc0ae25570e982122be0c7d (patch) | |
tree | d43fce119b8dd1f9b716da96524b31f8f5bfa6d5 /wqflask/tests/base/test_trait.py | |
parent | bb146e6d6d8fefa2f588bbaaede9867a4f132e4d (diff) | |
download | genenetwork2-fd151ade1d9f12157bc0ae25570e982122be0c7d.tar.gz |
Fix failing tests
* wqflask/tests/base/test_trait.py: In python2 it's necessary to
decode the utf-8 string.
Diffstat (limited to 'wqflask/tests/base/test_trait.py')
-rw-r--r-- | wqflask/tests/base/test_trait.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/tests/base/test_trait.py b/wqflask/tests/base/test_trait.py index 53b0d440..960f2c81 100644 --- a/wqflask/tests/base/test_trait.py +++ b/wqflask/tests/base/test_trait.py @@ -96,6 +96,6 @@ class TestRetrieveTraitInfo(unittest.TestCase): test_trait = retrieve_trait_info(trait=mock_trait, dataset=mock_dataset) self.assertEqual(test_trait.abbreviation, - "ファイルを画面毎に見て行くには、次のコマンドを使います。") + "ファイルを画面毎に見て行くには、次のコマンドを使います。".decode('utf-8')) self.assertEqual(test_trait.authors, - "Jane Doe かいと") + "Jane Doe かいと".decode('utf-8')) |