Skip to content

Instantly share code, notes, and snippets.

@Johnetordoff
Created February 24, 2023 16:39
Show Gist options
  • Save Johnetordoff/433d5e1911db14f33c78000d20401d85 to your computer and use it in GitHub Desktop.
Save Johnetordoff/433d5e1911db14f33c78000d20401d85 to your computer and use it in GitHub Desktop.
==================================== ERRORS ====================================
_____________ ERROR collecting addons/github/tests/test_models.py ______________
addons/github/tests/test_models.py:27: in <module>
mock_github = create_mock_github()
addons/github/tests/utils.py:45: in create_mock_github
github_mock.repo.return_value = github3.repos.Repository.from_json(dumps({
E TypeError: GitHubCore.from_json() missing 1 required positional argument: 'session'
=============================== warnings summary ===============================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment