Skip to content

Commit a8fc873

Browse files
remove missing function
1 parent bfe7b86 commit a8fc873

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

tests/test_views.py

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
from django_github_app.views import AsyncWebhookView
2323
from django_github_app.views import BaseWebhookView
2424
from django_github_app.views import SyncWebhookView
25-
from django_github_app.views import detect_webhook_type
2625
from django_github_app.views import get_webhook_views
2726

2827
pytestmark = pytest.mark.django_db
@@ -260,21 +259,3 @@ def test_get_none(self, urlpatterns):
260259
views = get_webhook_views()
261260

262261
assert len(views) == 0
263-
264-
def test_detect_async(self, urlpatterns):
265-
with urlpatterns([AsyncWebhookView]):
266-
webhook_type = detect_webhook_type()
267-
268-
assert webhook_type == "async"
269-
270-
def test_detect_sync(self, urlpatterns):
271-
with urlpatterns([SyncWebhookView]):
272-
webhook_type = detect_webhook_type()
273-
274-
assert webhook_type == "sync"
275-
276-
def test_detect_none(self, urlpatterns):
277-
with urlpatterns([]):
278-
webhook_type = detect_webhook_type()
279-
280-
assert webhook_type is None

0 commit comments

Comments
 (0)