1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

13 lines
262 B
Python
Raw Normal View History

2020-01-10 11:51:14 -05:00
from django.test import TestCase
from extras.models import Tag
class TagTest(TestCase):
def test_create_tag_unicode(self):
tag = Tag(name='Testing Unicode: 台灣')
tag.save()
self.assertEqual(tag.slug, 'testing-unicode-台灣')