beeware/cricket

AttributeError: 'TestMethod' object has no attribute 'items'

coler-j opened this issue · 1 comments

Traceback (most recent call last):
  File "C:\Users\Cole Jancsar\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\Cole Jancsar\AppData\Local\Programs\Python\Python37-32\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Cole Jancsar\Desktop\Testing practice\obey_goat_project\venv\Scripts\cricket-django.exe\__main__.py", line 9, in <module>
  File "c:\users\cole jancsar\desktop\testing practice\obey_goat_project\venv\lib\site-packages\cricket\django\__main__.py", line 9, in main
    cricket_main(DjangoProject)
  File "c:\users\cole jancsar\desktop\testing practice\obey_goat_project\venv\lib\site-packages\cricket\main.py", line 90, in main
    view.project = project
  File "c:\users\cole jancsar\desktop\testing practice\obey_goat_project\venv\lib\site-packages\cricket\view.py", line 509, in project
    self._add_test_module('', testModule)
  File "c:\users\cole jancsar\desktop\testing practice\obey_goat_project\venv\lib\site-packages\cricket\view.py", line 490, in _add_test_module
    for testMethod_name, testMethod in sorted(testCase.items()):
AttributeError: 'TestMethod' object has no attribute 'items'
  • Django: Version: 2.1.7
  • Using standard Django TestCases