aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/tests/test_utils.py
blob: f141986088a2d13dc3aff2b4e732aab714cd30dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
from django.test import TestCase

from pydis_site.utils import get_git_sha
from pydis_site.utils.utils import GIT_SHA


class UtilsTests(TestCase):

    def test_git_sha(self):
        """Test that the get_git_sha returns the correct SHA."""
        self.assertEqual(get_git_sha(), GIT_SHA)