diff options
Diffstat (limited to 'test/test_age_restriction.py')
-rw-r--r-- | test/test_age_restriction.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_age_restriction.py b/test/test_age_restriction.py index af89f29ff..70f9f4845 100644 --- a/test/test_age_restriction.py +++ b/test/test_age_restriction.py @@ -7,8 +7,7 @@ import sys import unittest sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) -from test.helper import try_rm - +from test.helper import try_rm, is_download_test from yt_dlp import YoutubeDL @@ -32,6 +31,7 @@ def _download_restricted(url, filename, age): return res +@is_download_test class TestAgeRestriction(unittest.TestCase): def _assert_restricted(self, url, filename, age, old_age=None): self.assertTrue(_download_restricted(url, filename, old_age)) |