Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modified: note/tests.py #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

modified: note/tests.py #21

wants to merge 1 commit into from

Conversation

calvinYe
Copy link

Add method to test generate random strings.

This file demonstrates writing tests using the unittest module. These will pass
when you run "manage.py test".
from django.test import TestCase
from func import generateStr

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

命名,驼峰的不要

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func的命名更清晰一点,如果是工具包,通常的命名utils

@qingfeng
Copy link

来个头像呗 🍺

@billychou
Copy link
Owner

松楠,与主仓有冲突,无法merge,拉一下代码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants