def test_generated_pages_should_default_to_video_if_unknown_media_type_is_given(self):
     self.assertEqual(
         generator.generate_page("some_url", "???"), template(video_template_path, media_url="some_url")
     )
 def test_generating_a_video_page_should_return_the_video_template_with_the_supplied_url(self):
     self.assertEqual(
         generator.generate_page("some_url", "video"), template(video_template_path, media_url="some_url")
     )