From 4c9a1a3ba56c2906f9ef8d768de7f8e5a2361144 Mon Sep 17 00:00:00 2001
From: Matthew
Date: Sun, 9 Oct 2022 18:55:26 +1300
Subject: [extractor/wordpress:mb.miniAudioPlayer] Add embed extractor (#5087)
Closes https://github.com/yt-dlp/yt-dlp/issues/4994
Authored by: coletdjnz
---
test/test_utils.py | 3 +++
1 file changed, 3 insertions(+)
(limited to 'test/test_utils.py')
diff --git a/test/test_utils.py b/test/test_utils.py
index 90085a9c0..df23f1f47 100644
--- a/test/test_utils.py
+++ b/test/test_utils.py
@@ -1679,6 +1679,9 @@ Line 1
self.assertEqual(list(get_elements_text_and_html_by_attribute('class', 'foo', html)), [])
self.assertEqual(list(get_elements_text_and_html_by_attribute('class', 'no-such-foo', html)), [])
+ self.assertEqual(list(get_elements_text_and_html_by_attribute(
+ 'class', 'foo', 'nicenice', tag='a')), [('nice', 'nice')])
+
GET_ELEMENT_BY_TAG_TEST_STRING = '''
random text lorem ipsum
--
cgit v1.2.3