Merge branch 'master' into master

This commit is contained in:
debugtalk
2022-03-22 17:06:56 +08:00
committed by GitHub
43 changed files with 1562 additions and 906 deletions

View File

@@ -107,8 +107,8 @@ from request_methods.request_with_functions_test import (
)
loader.project_meta = None
self.assertEqual(
ensure_file_abs_path_valid(os.path.join(os.getcwd(), "README.md")),
os.path.join(os.getcwd(), "README.md"),
ensure_file_abs_path_valid(os.path.join(os.getcwd(), "pyproject.toml")),
os.path.join(os.getcwd(), "pyproject.toml"),
)
loader.project_meta = None
self.assertEqual(

View File

@@ -19,7 +19,7 @@ class TestScaffold(unittest.TestCase):
# run demo testcases
try:
if platform.system() is "Windows":
if platform.system() == "Windows":
subprocess.check_call(["hrun", project_name], shell=True)
else:
subprocess.check_call(["hrun", project_name])