aboutsummaryrefslogtreecommitdiffstats
path: root/.coveragerc
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2023-04-22 14:55:40 +0200
committerGravatar GitHub <[email protected]>2023-04-22 12:55:40 +0000
commitaa303ed0776c8deab31890830934a8b0ef833f65 (patch)
treeec72f991da3157a1f95dcfc005e768e485d009ab /.coveragerc
parentMerge pull request #950 from python-discord/rule-crosscheck (diff)
Make unittests independent of GitHub (#948)
This fixes a problem where running the unit tests successively a lot would result in 403 ratelimit exceeded errors being thrown due to the GitHub API being called by the app. Fixes #918 Co-authored-by: wookie184 <[email protected]>
Diffstat (limited to '.coveragerc')
-rw-r--r--.coveragerc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.coveragerc b/.coveragerc
index 38926b22..b41a2140 100644
--- a/.coveragerc
+++ b/.coveragerc
@@ -11,6 +11,8 @@ omit =
*/apps.py
*/urls.py
pydis_site/apps/api/models/bot/metricity.py
+ # GitHub API functions are mocked away
+ pydis_site/apps/content/utils.py
pydis_site/wsgi.py
pydis_site/settings.py
pydis_site/utils/resources.py