mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-03-17 05:40:24 +00:00
13 lines
367 B
Python
13 lines
367 B
Python
from unittest import TestCase
|
|
|
|
import embed_video
|
|
|
|
|
|
class EmbedVideoTestCase(TestCase):
|
|
def test_release(self):
|
|
embed_video.VERSION = ('a', 'b', 'c', 'd')
|
|
self.assertEqual('a.b.c', embed_video.get_release())
|
|
|
|
def test_version(self):
|
|
embed_video.VERSION = ('a', 'b', 'c', 'd')
|
|
self.assertEqual('a.b', embed_video.get_version())
|