diff --git a/common/lib/xmodule/xmodule/tests/test_video.py b/common/lib/xmodule/xmodule/tests/test_video.py
index c44a762142..8084aecdc7 100644
--- a/common/lib/xmodule/xmodule/tests/test_video.py
+++ b/common/lib/xmodule/xmodule/tests/test_video.py
@@ -744,7 +744,7 @@ class VideoExportTestCase(VideoBlockTestBase):
xml = self.descriptor.definition_to_xml(self.file_system)
parser = etree.XMLParser(remove_blank_text=True)
- xml_string = ''
+ xml_string = ''
expected = etree.XML(xml_string, parser=parser)
self.assertXmlEqual(expected, xml)
@@ -784,7 +784,7 @@ class VideoExportTestCase(VideoBlockTestBase):
"""
xml = self.descriptor.definition_to_xml(self.file_system)
# Check that download_video field is also set to default (False) in xml for backward compatibility
- expected = '\n'
+ expected = '\n'
assert expected == etree.tostring(xml, pretty_print=True).decode('utf-8')
@patch('xmodule.video_module.video_module.edxval_api', None)
@@ -794,7 +794,7 @@ class VideoExportTestCase(VideoBlockTestBase):
"""
self.descriptor.transcripts = None
xml = self.descriptor.definition_to_xml(self.file_system)
- expected = b'\n'
+ expected = b'\n'
assert expected == etree.tostring(xml, pretty_print=True)
@patch('xmodule.video_module.video_module.edxval_api', None)
diff --git a/common/lib/xmodule/xmodule/video_module/video_module.py b/common/lib/xmodule/xmodule/video_module/video_module.py
index 052b6d7e91..ae4fae9960 100644
--- a/common/lib/xmodule/xmodule/video_module/video_module.py
+++ b/common/lib/xmodule/xmodule/video_module/video_module.py
@@ -673,9 +673,7 @@ class VideoBlock(
"""
xml = etree.Element('video')
youtube_string = create_youtube_string(self)
- # Mild workaround to ensure that tests pass -- if a field
- # is set to its default value, we don't need to write it out.
- if youtube_string and youtube_string != '1.00:3_yD_cEKoCk':
+ if youtube_string:
xml.set('youtube', str(youtube_string))
xml.set('url_name', self.url_name)
attrs = [
diff --git a/lms/djangoapps/courseware/tests/test_video_mongo.py b/lms/djangoapps/courseware/tests/test_video_mongo.py
index b6724a4760..3b79f238ea 100644
--- a/lms/djangoapps/courseware/tests/test_video_mongo.py
+++ b/lms/djangoapps/courseware/tests/test_video_mongo.py
@@ -1671,7 +1671,7 @@ class VideoBlockTest(TestCase, VideoBlockTestBase):
actual = self.descriptor.definition_to_xml(resource_fs=self.file_system)
expected_str = """
-