def test_form_media_empty(self):
        class F(Form):
            fields=[Field('name')]
        form = F()
        self.assertEqual(form.get_media(), FormMedia())
Simple form get_media() method
dataset/ETHPy150Open SmartTeleMax/iktomi/tests/forms/media.py/MediaTests.test_form_media_empty