from django.test import TestCase
from django.urls import reverse, resolve
from checkout.views import checkout


class TestUrls(TestCase):
    def test_checkout_url_is_resolved(self):
        url = reverse("checkout")
        self.assertEquals(resolve(url).func, checkout)

43e535ffb0f52892a688387c55d72e9555a061b4
<mask token>

<mask token>


class TestUrls(TestCase):
    <mask token>

<mask token>


class TestUrls(TestCase):

    def test_checkout_url_is_resolved(self):
        url = reverse('checkout')
        self.assertEquals(resolve(url).func, checkout)

from django.test import TestCase
from django.urls import reverse, resolve
from checkout.views import checkout


class TestUrls(TestCase):

    def test_checkout_url_is_resolved(self):
        url = reverse('checkout')
        self.assertEquals(resolve(url).func, checkout)

from django.test import TestCase
from django.urls import reverse, resolve
from checkout.views import checkout


class TestUrls(TestCase):
    def test_checkout_url_is_resolved(self):
        url = reverse("checkout")
        self.assertEquals(resolve(url).func, checkout)
