from django.test import TestCase

from rango.models import Category





class CategoryMethodTests(TestCase):

	def test_slug_line_creation(self):
		cat = Category("random string category")
		cat.save()
		self.assertEqual(cat.slug,"random-string-category")


 
318cd82e359a5dd6daac9270a00e115401959c78
<mask token>

<mask token>


class CategoryMethodTests(TestCase):
    <mask token>

<mask token>


class CategoryMethodTests(TestCase):

    def test_slug_line_creation(self):
        cat = Category('random string category')
        cat.save()
        self.assertEqual(cat.slug, 'random-string-category')

from django.test import TestCase
from rango.models import Category


class CategoryMethodTests(TestCase):

    def test_slug_line_creation(self):
        cat = Category('random string category')
        cat.save()
        self.assertEqual(cat.slug, 'random-string-category')

from django.test import TestCase

from rango.models import Category





class CategoryMethodTests(TestCase):

	def test_slug_line_creation(self):
		cat = Category("random string category")
		cat.save()
		self.assertEqual(cat.slug,"random-string-category")


 