# Path: challenges/models.py
# class Category(models.Model):
#     name = models.CharField(max_length=256, unique=True)
#     description = models.TextField()
# 
#     class Meta:
#         verbose_name_plural = "categories"
# 
#     def __str__(self):
#         return self.name


from django.contrib.auth import get_user_model
from django.test import TestCase
from challenges.models import Category



class ChallengesTest(TestCase):

    def setUp(self):
        self.test_category = Category.objects.create(name='test')
        self.u1, self.u2, self.u3 = (get_user_model().objects.create_user(

# Path: challenges/models.py
# class Category(models.Model):
#     name = models.CharField(max_length=256, unique=True)
#     description = models.TextField()
# 
#     class Meta:
#         verbose_name_plural = "categories"
# 
#     def __str__(self):
#         return self.name


# Path: challenges/tests.py
from django.contrib.auth import get_user_model
from django.test import TestCase
from challenges.models import Category




class ChallengesTest(TestCase):

    def setUp(self):
        self.test_category = Category.objects.create(name='test')
        self.u1, self.u2, self.u3 = (get_user_model().objects.create_user(

            u,