diff --git a/tests/test_cli_search.py b/tests/test_cli_search.py index 866c85abd..96e37b228 100644 --- a/tests/test_cli_search.py +++ b/tests/test_cli_search.py @@ -101,10 +101,10 @@ def test_unicode_search(self, invoke): Test originates from #16. """ - result = invoke("--mas", "search", "钉钉") + result = invoke("--mas", "search", "业") assert result.exit_code == 0 - assert "钉" in result.stdout - assert "\x1b[32m\x1b[1m钉\x1b[0m" in result.stdout + assert "业" in result.stdout + assert "\x1b[32m\x1b[1m业\x1b[0m" in result.stdout # PyPi's online search API was at first rate-limited. So we added an artificial # 2-seconds delay to prevent the following error: