yuyu1987 / pithy-test Goto Github PK
View Code? Open in Web Editor NEW简化接口测试
Home Page: http://pithy-test.readthedocs.io
License: Apache License 2.0
简化接口测试
Home Page: http://pithy-test.readthedocs.io
License: Apache License 2.0
直接调用api函数 也有触发请求,在代码里没看到 ,请问下 到底是哪里触发 发送请求的
这种情况怎么处理
`
def confirm_qrcode(self, login_id):
path = "login/confirmRCode/{}".format(login_id)
resp = self.request.get(url=path)
return resp
`
Traceback (most recent call last):
File "c:\program files (x86)\python36-32\lib\site-packages\pithy\cli\init.py", line 29, in generate_project
render_template(jinja_env, template, target_full_name, project_name=project_name)
File "c:\program files (x86)\python36-32\lib\site-packages\pithy\cli\utils.py", line 69, in render_template
f.write(content)
TypeError: write() argument must be str, not bytes
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\program files (x86)\python36-32\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "c:\program files (x86)\python36-32\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Program Files (x86)\Python36-32\Scripts\pithy-cli.exe_main.py", line 9, in
File "c:\program files (x86)\python36-32\lib\site-packages\click\core.py", line 722, in call
return self.main(*args, **kwargs)
File "c:\program files (x86)\python36-32\lib\site-packages\click\core.py", line 697, in main
rv = self.invoke(ctx)
File "c:\program files (x86)\python36-32\lib\site-packages\click\core.py", line 1066, in invoke
return process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\program files (x86)\python36-32\lib\site-packages\click\core.py", line 895, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\program files (x86)\python36-32\lib\site-packages\click\core.py", line 535, in invoke
return callback(*args, **kwargs)
File "c:\program files (x86)\python36-32\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\program files (x86)\python36-32\lib\site-packages\pithy\cli_init.py", line 46, in init
generate_project(project_name, project_type)
File "c:\program files (x86)\python36-32\lib\site-packages\pithy\cli\init.py", line 35, in generate_project
raise Exception
Exception
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.