From d74856fc16065c1c35f88559e1cedfbf618f2f86 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Mon, 8 Feb 2021 21:25:30 +0800 Subject: app/test/test_*.py: add # -*- coding: utf-8 -*- to resolve the pytest error: SyntaxError: Non-ASCII character. --- app/test/test_add_word.py | 1 + app/test/test_login.py | 1 + app/test/test_next_essay.py | 1 + app/test/test_signup.py | 1 + 4 files changed, 4 insertions(+) diff --git a/app/test/test_add_word.py b/app/test/test_add_word.py index 6e6370a..0d5356a 100644 --- a/app/test/test_add_word.py +++ b/app/test/test_add_word.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Run the docker image using the following command: # docker run -d -p 4444:4444 selenium/standalone-chrome from selenium import webdriver diff --git a/app/test/test_login.py b/app/test/test_login.py index 17db772..88d08f4 100644 --- a/app/test/test_login.py +++ b/app/test/test_login.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Run the docker image using the following command: # docker run -d -p 4444:4444 selenium/standalone-chrome from selenium import webdriver diff --git a/app/test/test_next_essay.py b/app/test/test_next_essay.py index c9e3831..7a877ab 100644 --- a/app/test/test_next_essay.py +++ b/app/test/test_next_essay.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Run the docker image using the following command: # docker run -d -p 4444:4444 selenium/standalone-chrome from selenium import webdriver diff --git a/app/test/test_signup.py b/app/test/test_signup.py index fc8ec4a..867ca53 100644 --- a/app/test/test_signup.py +++ b/app/test/test_signup.py @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- # Run the docker image using the following command: # docker run -d -p 4444:4444 selenium/standalone-chrome from selenium import webdriver -- cgit v1.2.1