Python django.core.exceptions.Configured不正确:找不到带有标签测试的应用程序?

Python django.core.exceptions.Configured不正确:找不到带有标签测试的应用程序?,python,django,Python,Django,我有一个项目结构 myApp/ apps/ tests/ __init__.py tests.py tests.py如下所示 from django.test import TestCase class VideoTest(TestCase): def test_video_insert(self): self.assertTrue(true) 当我试着从命令行测试这个时,我做到

我有一个项目结构

myApp/
     apps/
         tests/
              __init__.py
              tests.py  
tests.py
如下所示

from django.test import TestCase

class VideoTest(TestCase):
    def test_video_insert(self):
        self.assertTrue(true)
当我试着从命令行测试这个时,我做到了

dirBeforeMyApp$python manage.py test test.VideoTest --settings=myApp.settings.dev 
我看到以下错误

  File "/Users/user/code/p/virtualenv/myApp/lib/python2.7/site-packages/django/db/models/loading.py", line 152, in get_app
    raise ImproperlyConfigured("App with label %s could not be found" % app_label)
django.core.exceptions.ImproperlyConfigured: App with label test could not be found

我没有在这里做什么?

你的应用程序叫做测试,复数。。无论如何,出于明显的原因,您可能希望避免使用该名称