Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
coler-j opened this issue Mar 2, 2019 · 1 comment
Open

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

coler-j opened this issue Mar 2, 2019 · 1 comment

Comments

@coler-j
Copy link

coler-j commented Mar 2, 2019

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

coler-j commented Mar 2, 2019

  • Django: Version: 2.1.7
  • Using standard Django TestCases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant