eclipse - Error running Django tests -


i'm trying run django tests ( version 1.8 )

but error

from django.test import testcase  class jobtypesresourcetest (testcase):     def setup(self):         testcase.setup(self)     def test_basicget(self):         return true  traceback (most recent call last):   file "c:\users\user\.p2\pool\plugins\org.python.pydev_4.4.0.201510052309\pysrc\runfiles.py", line 234, in <module>     main()   file "c:\users\user\.p2\pool\plugins\org.python.pydev_4.4.0.201510052309\pysrc\runfiles.py", line 78, in main     return pydev_runfiles.main(configuration)  # note: still doesn't return proper value.   file "c:\users\user\.p2\pool\plugins\org.python.pydev_4.4.0.201510052309\pysrc\pydev_runfiles.py", line 835, in main     pydevtestrunner(configuration).run_tests()   file "c:\users\user\.p2\pool\plugins\org.python.pydev_4.4.0.201510052309\pysrc\pydev_runfiles.py", line 793, in run_tests     mydjangotestsuiterunner(run_tests).run_tests([])   file "c:\users\user\.p2\pool\plugins\org.python.pydev_4.4.0.201510052309\pysrc\pydev_runfiles.py", line 813, in run_tests     raise assertionerror("unable run suite djangotestsuiterunner because couldn't imported.") assertionerror: unable run suite djangotestsuiterunner because couldn't imported. 

am missing python library ?

thank help. looks running tests wrong. using eclipse-> run pyunit option looks using older code. working when ran using manage.py test


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -