摘要: 在tests.py中,导入TestCase包from django.test import TestCase创建测试类:class SimpleTest(TestCase):创建测试函数,必须以test_开头def test_login(self):模... 阅读全文
posted @ 2017-05-05 15:06 HeJD 阅读(342) 评论(0) 推荐(0)