commit d66e6c22665a36c119ee5502ae1a4e040aa13660 Author: ZQ1 <929165370@qq.com> Date: Tue Dec 5 14:00:33 2023 +0800 Initial commit diff --git a/README.md b/README.md new file mode 100644 index 0000000..0e45261 --- /dev/null +++ b/README.md @@ -0,0 +1,2 @@ +# helloworld + diff --git a/data_init.py b/data_init.py new file mode 100644 index 0000000..d088305 --- /dev/null +++ b/data_init.py @@ -0,0 +1,16 @@ +import sys, os + +real_path = os.path.split(os.path.realpath(__file__))[0] +sys.path.append('{}{}..'.format(real_path, os.sep)) + +from config.common_config import * +from config.performance_config import * +from biz import home_page, performance_biz + +if __name__ == '__main__': + # 创建账号 + home_page.login_educoder(username=admin_username, password=admin_password, headers=user_header_1) + teacher_accounts, student_accounts = performance_biz.init_account_for_perf(headers=user_header_1) + # 准备数据 + home_page.login_educoder(username=teacher_accounts[0], password=performance_biz.default_password, headers=user_header_2) + performance_biz.init_exercise_for_perf(headers=user_header_2, stu_id_list=student_accounts) diff --git a/hello.py b/hello.py new file mode 100644 index 0000000..f0b303f --- /dev/null +++ b/hello.py @@ -0,0 +1 @@ +print('Hello World!') \ No newline at end of file diff --git a/test.txt b/test.txt new file mode 100644 index 0000000..4b9a8a2 --- /dev/null +++ b/test.txt @@ -0,0 +1 @@ +aaaaaaa \ No newline at end of file diff --git a/webconfig.tar b/webconfig.tar new file mode 100644 index 0000000..689c59c Binary files /dev/null and b/webconfig.tar differ