We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34e90af commit a1dc572Copy full SHA for a1dc572
promo_code/core/tests.py
@@ -0,0 +1,10 @@
1
+import http
2
+
3
+import django.test
4
+import django.urls
5
6
7
+class StaticURLTests(django.test.TestCase):
8
+ def test_ping_endpoint(self):
9
+ response = self.client.get(django.urls.reverse('core:ping'))
10
+ self.assertEqual(response.status_code, http.HTTPStatus.OK)
0 commit comments