Skip to content

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

@coler-j

Description

@coler-j
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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions