testing命令在Django中不被识别

我在Docker容器中运行Djangotesting,并使用manage.py来运行我的testing。 我的testing文件从django.test导入TestCase ,但由于某些原因AssertEqual等命令无法识别:

 AttributeError: 'TestSession' object has no attribute 'AssertEqual' 

我究竟做错了什么?

命令是assertEqual (注意assert中的小写'a'),而不是AssertEqual