'The list of ignored extensions can be set by passing a value to
L{File.__init__} or by calling L{File.ignoreExt} later.'

def test_ignoreExt(self):

    file = static.File('.')
    self.assertEqual(file.ignoredExts, [])
    file.ignoreExt('.foo')
    file.ignoreExt('.bar')
    self.assertEqual(file.ignoredExts, ['.foo', '.bar'])
    file = static.File('.', ignoredExts=('.bar', '.baz'))
    self.assertEqual(file.ignoredExts, ['.bar', '.baz'])
