mirror of
https://github.com/Hopiu/django-embed-video.git
synced 2026-05-05 03:24:42 +00:00
Remove redundant lines
This commit is contained in:
parent
26bd78b9a9
commit
5b85126f94
3 changed files with 0 additions and 10 deletions
|
|
@ -6,6 +6,3 @@ os.environ['DJANGO_SETTINGS_MODULE'] = 'embed_video.tests.django_settings'
|
|||
|
||||
from tests_fields import EmbedVideoFieldTestCase, EmbedVideoFormFieldTestCase
|
||||
from tests_backend import EmbedVideoTestCase
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
|||
|
|
@ -128,7 +128,3 @@ class EmbedVideoTestCase(TestCase):
|
|||
backend = SoundCloundBackend(url[0])
|
||||
code = backend.get_code()
|
||||
self.assertEqual(code, url[1])
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
|||
|
|
@ -43,6 +43,3 @@ class EmbedVideoFormFieldTestCase(TestCase):
|
|||
mock_detect_backend.side_effect = UnknownIdException
|
||||
self.assertRaises(ValidationError, self.formfield.validate,
|
||||
('http://youtube.com/v/123/',))
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
|
|
|||
Loading…
Reference in a new issue